SMART disk data

Dashboard

Extended smartmon Dashboard for disk SMART data
Last updated: 2 years ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 638

Reviews: 0

  • Screenshot_2019-08-04_at_15_47_00.png
    Screenshot_2019-08-04_at_15_47_00.png

Dashboard for displaying SMART information of disks readable via smartmontools/smartctl.

I created a fork of the node-exporter textfile collector script smartmon.sh, and extended its functionality ab bit, most notably

  • Adding extensive device info labels on all metrics
  • Adding metrics for the information encoded in the return value of smartctl:
    smartmon_smartctl_statusbit_commandline_not_parsed
    smartmon_smartctl_statusbit_device_open_failed
    smartmon_smartctl_statusbit_device_command_failed
    smartmon_smartctl_statusbit_disk_failing
    smartmon_smartctl_statusbit_prefail_attributes_below_thresh
    smartmon_smartctl_statusbit_disk_ok_previous_prefail_attributes
    smartmon_smartctl_statusbit_device_error_log_has_errors
    smartmon_smartctl_statusbit_device_selftest_log_has_errors
    

You can find my fork of the script here.

Collector Configuration Details

Requires a modified version of the Prometheus smartmon.sh script for textfile data collection from smartctl.

Dependencies: