Metrics

Latest software RAID and drive SMART health for a node.

Changed on

Backs the disk-health panel on the server monitoring page. The headline values are also plain node metrics (node.raid_degraded, node.disk_wear_percent, node.disk_media_errors) that alert rules read.

get/nodes/{id}/metrics/disk-health

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

Node ID (0 = control plane)

Response

Disk health

drives_detectedinteger required

Physical drives found on the node.

drives_readinteger required

Drives whose SMART data could be read.

reasonstring nullable

Why some or all drive health is missing, when it is.

reportedboolean required

false when the node has never reported disk health.

setup_pathstring required

Console path that shows this node's disk health.

staleboolean required

true when the node has not reported recently: the arrays and drives above are the last values it sent, not its current state, so they must not be presented as the node's health now.

Changes