survey

get /survey

Get survey configuration

Arguments
  • No arguments...

Definition
get /survey
Attributes
  • enabledboolean

    -

Example response
{ "enabled": true }

patch /survey

Enable or disable the croit hardware survey.

Arguments
  • bodyoptional

    -

Definition
patch /survey

get /survey/preview

Preview what is sent to croit.io if survey is enabled.

Arguments
  • No arguments...

Definition
get /survey/preview
Attributes
  • servicesarray

    -

    • typestring

      [osd, mon, mgr, radosgw, mds, nfs_gateway, iscsi, smb, unknown]

    • serverinteger

      -

    • osdDiskinteger

      -

  • disksarray

    -

    • idinteger

      -

    • serverinteger

      -

    • rolestring

      [unassigned, mon, osd, journal, other, raid, deleting, updating, mon_unused, old_osd, old_mon]

    • sizeGBinteger

      -

    • namestring

      -

    • deviceClassstring

      [hdd, ssd, nvme]

    • partitionsinteger

      -

    • usedPartitionsinteger

      -

    • journalDiskinteger

      -

    • smartobject

      -

      • statusstring

        -

      • detailsstring

        -

    • missingboolean

      -

    • bluestoreboolean

      -

  • serversarray

    -

    • idinteger

      -

    • ramnumber

      -

    • cpustring

      -

    • cpusinteger

      -

    • coresPerCpuinteger

      -

    • mainboardstring

      -

    • runningImagestring

      -

    • uptimenumber

      Duration in seconds.

  • nicsarray

    -

    • serverinteger

      -

    • speednumber

      -

    • namestring

      -

    • typestring

      [normal, bond]

    • bondSizeinteger

      -

    • numVlansinteger

      -

    • hasLldpInfoboolean

      -

  • cephobject

    -

    • numOsdsinteger

      -

    • numInOsdsinteger

      -

    • sizeGBnumber

      -

    • rawCapacityGBnumber

      -

    • fullPercentnumber

      -

    • poolsarray

      -

      • idinteger

        -

      • erasureCodingboolean

        -

      • pgNuminteger

        -

      • minSizeinteger

        -

      • sizeinteger

        -

      • dataChunksinteger

        -

      • parityChunksinteger

        -

      • sizeGBnumber

        -

      • objectsinteger

        -

      • applicationstring

        -

    • rgwBucketsarray

      -

      • sizeGBnumber

        -

      • objectsinteger

        -

    • cephFsStatsobject

      -

      • sizeGBnumber

        -

      • filesinteger

        -

      • dirsinteger

        -

Example response
{ "services": [ { "type": "osd", "server": 0, "osdDisk": 0 } ], "disks": [ { "id": 0, "server": 0, "role": "unassigned", "sizeGB": 0, "name": "string", "deviceClass": "hdd", "partitions": 0, "usedPartitions": 0, "journalDisk": 0, "smart": { "status": "string", "details": "string" }, "missing": true, "bluestore": true } ], "servers": [ { "id": 0, "ram": , "cpu": "string", "cpus": 0, "coresPerCpu": 0, "mainboard": "string", "runningImage": "string", "uptime": } ], "nics": [ { "server": 0, "speed": , "name": "string", "type": "normal", "bondSize": 0, "numVlans": 0, "hasLldpInfo": true } ], "ceph": { "numOsds": 0, "numInOsds": 0, "sizeGB": , "rawCapacityGB": , "fullPercent": , "pools": [ { "id": 0, "erasureCoding": true, "pgNum": 0, "minSize": 0, "size": 0, "dataChunks": 0, "parityChunks": 0, "sizeGB": , "objects": 0, "application": "string" } ], "rgwBuckets": [ { "sizeGB": , "objects": 0 } ], "cephFsStats": { "sizeGB": , "files": 0, "dirs": 0 } } }