smart_exporter

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2020 License: MIT Imports: 15 Imported by: 0

README

smart_exporter

Release License Build status

Prometheus exporter for critical S.M.A.R.T. metrics. It works by parsing smartctl output for every device. Parsing is performed independent of metrics HTTP handler (not on every scrape).

Example scrape output with metrics:

# HELP smart_read_uncorrected_errors_total Number of uncorrected read errors
# TYPE smart_read_uncorrected_errors_total gauge
smart_read_uncorrected_errors_total{device="/dev/sda"} 0

# HELP smart_write_uncorrected_errors_total Number of uncorrected write errors
# TYPE smart_write_uncorrected_errors_total gauge
smart_write_uncorrected_errors_total{device="/dev/sda"} 0

# HELP smart_grown_defect_list_total Number of elements in grown defect list
# TYPE smart_grown_defect_list_total gauge
smart_grown_defect_list_total{device="/dev/sda"} 0

# HELP smart_reallocated_sectors_total Number of reallocated sectors
# TYPE smart_reallocated_sectors_total gauge
smart_reallocated_sectors_total{device="/dev/sda"} 0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL