PhilipMay / smart-prom-next

S.M.A.R.T. Prometheus Metrics Exporter
MIT License
17 stars 1 forks source link

[FR] add power cycle count metric #10

Open PhilipMay opened 2 years ago

PhilipMay commented 2 years ago

like this

# HELP smartctl_device_power_cycle_count Device power cycle count
# TYPE smartctl_device_power_cycle_count counter
smartctl_device_power_cycle_count{device="/dev/sda",model_family="Plextor M3/M5/M6 Series SSDs",model_name="PLEXTOR PX-128M6S",serial_number="P02448109994"} 572.0
smartctl_device_power_cycle_count{device="/dev/sdb",model_family="SandForce Driven SSDs",model_name="OCZ-VERTEX3",serial_number="A20Y8011312000361"} 1170.0
smartctl_device_power_cycle_count{device="/dev/sdc",model_family="Western Digital Red",model_name="WDC WD20EFRX-68EUZN0",serial_number="WD-WCC4M4VX3C69"} 146.0
smartctl_device_power_cycle_count{device="/dev/sdd",model_family="Western Digital Red",model_name="WDC WD20EFRX-68EUZN0",serial_number="WD-WCC4M6DCPPC7"} 146.0
smartctl_device_power_cycle_count{device="/dev/sde",model_family="Phison Driven SSDs",model_name="KINGSTON SA400S37120G",serial_number="50026B778224F6E1"} 46.0
smartctl_device_power_cycle_count{device="/dev/sdf",model_family="Phison Driven SSDs",model_name="KINGSTON SA400S37120G",serial_number="50026B778224F53C"} 46.0