cc-metric-collector/collectors/smartmonMetric.md
2022-07-27 13:59:06 +02:00

1.0 KiB

smartmon collector

  "smartmon": {
    "use_sudo" : true,
    "exclude_devices": [
      "/dev/sda",
    ]
  }

The smartmon collector reads the data from the command smartctl. It retrieves S.M.A.R.T data from disks

Metrics:

  • smartmon_temp: Temperature of the device (unit=degC)
  • smartmon_avail_spare: Amount of spare left (unit=percent)
  • smartmon_percent_used: Percentage of the device is used (unit=percent)
  • smartmon_data_units_read: Read data units
  • smartmon_data_units_write: Written data units
  • smartmon_host_reads: Read operations
  • smartmon_host_writes: Write operations
  • smartmon_power_cycles: Number of power cycles
  • smartmon_power_on: Seconds the device is powered on (unit=seconds)
  • smartmon_unsafe_shutdowns: Count of unsafe shutdowns
  • smartmon_media_errors: Media errors of the device
  • smartmon_errlog_entries: Error log entries
  • smartmon_warn_temp_time: Time above the warning temperature threshold
  • smartmon_crit_temp_time: Time above the critical temperature threshold