Page MenuHomePhabricator
Paste P8120

Smartmon Node Exporter comparison
ActivePublic

Authored by colewhite on Feb 21 2019, 10:19 PM.
Current smart-data-dump.py:
device_smart_offline_uncorrectable{device="sda"} 0.0
device_smart_offline_uncorrectable{device="sdb"} 0.0
device_smart_udma_crc_error_count{device="sda"} 0.0
device_smart_udma_crc_error_count{device="sdb"} 0.0
device_smart_power_cycle_count{device="sda"} 40.0
device_smart_power_cycle_count{device="sdb"} 16.0
device_smart_power_on_hours{device="sda"} 69605.0
device_smart_power_on_hours{device="sdb"} 47480.0
device_smart_info{device="sdb",firmware="02.03B04",model="WDC WD5002ABYS-18B1B0"} 1.0
device_smart_info{device="sda",firmware="02.03B04",model="WDC WD5002ABYS-18B1B0"} 1.0
device_smart_healthy{device="sda"} 1.0
device_smart_healthy{device="sdb"} 1.0
device_smart_raw_read_error_rate{device="sda"} 0.0
device_smart_raw_read_error_rate{device="sdb"} 0.0
device_smart_reallocated_event_count{device="sda"} 0.0
device_smart_reallocated_event_count{device="sdb"} 0.0
device_smart_reallocated_sector_ct{device="sda"} 0.0
device_smart_reallocated_sector_ct{device="sdb"} 0.0
device_smart_spin_retry_count{device="sda"} 0.0
device_smart_spin_retry_count{device="sdb"} 0.0
device_smart_spin_up_time{device="sda"} 1008.0
device_smart_spin_up_time{device="sdb"} 1025.0
device_smart_start_stop_count{device="sda"} 41.0
device_smart_start_stop_count{device="sdb"} 17.0
device_smart_current_pending_sector{device="sda"} 0.0
device_smart_current_pending_sector{device="sdb"} 0.0
device_smart_temperature_celsius{device="sda"} 32.0
device_smart_temperature_celsius{device="sdb"} 32.0
device_smart_load_cycle_count{device="sda"} 41.0
device_smart_load_cycle_count{device="sdb"} 17.0
Upstream smartmon.sh:
smartmon_smartctl_version{version="6.6"} 1
smartmon_current_pending_sector_raw_value{disk="/dev/sda",type="sat",smart_id="197"} 0.000000e+00
smartmon_current_pending_sector_raw_value{disk="/dev/sdb",type="sat",smart_id="197"} 0.000000e+00
smartmon_current_pending_sector_threshold{disk="/dev/sda",type="sat",smart_id="197"} 0
smartmon_current_pending_sector_threshold{disk="/dev/sdb",type="sat",smart_id="197"} 0
smartmon_current_pending_sector_value{disk="/dev/sda",type="sat",smart_id="197"} 200
smartmon_current_pending_sector_value{disk="/dev/sdb",type="sat",smart_id="197"} 200
smartmon_current_pending_sector_worst{disk="/dev/sda",type="sat",smart_id="197"} 200
smartmon_current_pending_sector_worst{disk="/dev/sdb",type="sat",smart_id="197"} 200
smartmon_device_active{disk="/dev/sda",type="sat"} 1
smartmon_device_active{disk="/dev/sdb",type="sat"} 1
smartmon_device_info{disk="/dev/sda",type="sat",vendor="",product="",revision="",lun_id="",model_family="Western Digital RE3 Serial ATA",device_model="WDC WD5002ABYS-18B1B0",serial_number="WD-WCASYA558125",firmware_version="02.03B04"} 1
smartmon_device_info{disk="/dev/sdb",type="sat",vendor="",product="",revision="",lun_id="",model_family="Western Digital RE3 Serial ATA",device_model="WDC WD5002ABYS-18B1B0",serial_number="WD-WCASYA777675",firmware_version="02.03B04"} 1
smartmon_device_smart_available{disk="/dev/sda",type="sat"} 1
smartmon_device_smart_available{disk="/dev/sdb",type="sat"} 1
smartmon_device_smart_enabled{disk="/dev/sda",type="sat"} 1
smartmon_device_smart_enabled{disk="/dev/sdb",type="sat"} 1
smartmon_device_smart_healthy{disk="/dev/sda",type="sat"} 1
smartmon_device_smart_healthy{disk="/dev/sdb",type="sat"} 1
smartmon_load_cycle_count_raw_value{disk="/dev/sda",type="sat",smart_id="193"} 4.100000e+01
smartmon_load_cycle_count_raw_value{disk="/dev/sdb",type="sat",smart_id="193"} 1.700000e+01
smartmon_load_cycle_count_threshold{disk="/dev/sda",type="sat",smart_id="193"} 0
smartmon_load_cycle_count_threshold{disk="/dev/sdb",type="sat",smart_id="193"} 0
smartmon_load_cycle_count_value{disk="/dev/sda",type="sat",smart_id="193"} 200
smartmon_load_cycle_count_value{disk="/dev/sdb",type="sat",smart_id="193"} 200
smartmon_load_cycle_count_worst{disk="/dev/sda",type="sat",smart_id="193"} 200
smartmon_load_cycle_count_worst{disk="/dev/sdb",type="sat",smart_id="193"} 200
smartmon_offline_uncorrectable_raw_value{disk="/dev/sda",type="sat",smart_id="198"} 0.000000e+00
smartmon_offline_uncorrectable_raw_value{disk="/dev/sdb",type="sat",smart_id="198"} 0.000000e+00
smartmon_offline_uncorrectable_threshold{disk="/dev/sda",type="sat",smart_id="198"} 0
smartmon_offline_uncorrectable_threshold{disk="/dev/sdb",type="sat",smart_id="198"} 0
smartmon_offline_uncorrectable_value{disk="/dev/sda",type="sat",smart_id="198"} 200
smartmon_offline_uncorrectable_value{disk="/dev/sdb",type="sat",smart_id="198"} 200
smartmon_offline_uncorrectable_worst{disk="/dev/sda",type="sat",smart_id="198"} 200
smartmon_offline_uncorrectable_worst{disk="/dev/sdb",type="sat",smart_id="198"} 200
smartmon_power_cycle_count_raw_value{disk="/dev/sda",type="sat",smart_id="12"} 4.000000e+01
smartmon_power_cycle_count_raw_value{disk="/dev/sdb",type="sat",smart_id="12"} 1.600000e+01
smartmon_power_cycle_count_threshold{disk="/dev/sda",type="sat",smart_id="12"} 0
smartmon_power_cycle_count_threshold{disk="/dev/sdb",type="sat",smart_id="12"} 0
smartmon_power_cycle_count_value{disk="/dev/sda",type="sat",smart_id="12"} 100
smartmon_power_cycle_count_value{disk="/dev/sdb",type="sat",smart_id="12"} 100
smartmon_power_cycle_count_worst{disk="/dev/sda",type="sat",smart_id="12"} 100
smartmon_power_cycle_count_worst{disk="/dev/sdb",type="sat",smart_id="12"} 100
smartmon_power_on_hours_raw_value{disk="/dev/sda",type="sat",smart_id="9"} 6.960600e+04
smartmon_power_on_hours_raw_value{disk="/dev/sdb",type="sat",smart_id="9"} 4.748100e+04
smartmon_power_on_hours_threshold{disk="/dev/sda",type="sat",smart_id="9"} 0
smartmon_power_on_hours_threshold{disk="/dev/sdb",type="sat",smart_id="9"} 0
smartmon_power_on_hours_value{disk="/dev/sda",type="sat",smart_id="9"} 5
smartmon_power_on_hours_value{disk="/dev/sdb",type="sat",smart_id="9"} 35
smartmon_power_on_hours_worst{disk="/dev/sda",type="sat",smart_id="9"} 5
smartmon_power_on_hours_worst{disk="/dev/sdb",type="sat",smart_id="9"} 35
smartmon_raw_read_error_rate_raw_value{disk="/dev/sda",type="sat",smart_id="1"} 0.000000e+00
smartmon_raw_read_error_rate_raw_value{disk="/dev/sdb",type="sat",smart_id="1"} 0.000000e+00
smartmon_raw_read_error_rate_threshold{disk="/dev/sda",type="sat",smart_id="1"} 51
smartmon_raw_read_error_rate_threshold{disk="/dev/sdb",type="sat",smart_id="1"} 51
smartmon_raw_read_error_rate_value{disk="/dev/sda",type="sat",smart_id="1"} 200
smartmon_raw_read_error_rate_value{disk="/dev/sdb",type="sat",smart_id="1"} 200
smartmon_raw_read_error_rate_worst{disk="/dev/sda",type="sat",smart_id="1"} 200
smartmon_raw_read_error_rate_worst{disk="/dev/sdb",type="sat",smart_id="1"} 200
smartmon_reallocated_sector_ct_raw_value{disk="/dev/sda",type="sat",smart_id="5"} 0.000000e+00
smartmon_reallocated_sector_ct_raw_value{disk="/dev/sdb",type="sat",smart_id="5"} 0.000000e+00
smartmon_reallocated_sector_ct_threshold{disk="/dev/sda",type="sat",smart_id="5"} 140
smartmon_reallocated_sector_ct_threshold{disk="/dev/sdb",type="sat",smart_id="5"} 140
smartmon_reallocated_sector_ct_value{disk="/dev/sda",type="sat",smart_id="5"} 200
smartmon_reallocated_sector_ct_value{disk="/dev/sdb",type="sat",smart_id="5"} 200
smartmon_reallocated_sector_ct_worst{disk="/dev/sda",type="sat",smart_id="5"} 200
smartmon_reallocated_sector_ct_worst{disk="/dev/sdb",type="sat",smart_id="5"} 200
smartmon_smartctl_run{disk="/dev/sda",type="sat"} 1550785384
smartmon_smartctl_run{disk="/dev/sdb",type="sat"} 1550785384
smartmon_spin_retry_count_raw_value{disk="/dev/sda",type="sat",smart_id="10"} 0.000000e+00
smartmon_spin_retry_count_raw_value{disk="/dev/sdb",type="sat",smart_id="10"} 0.000000e+00
smartmon_spin_retry_count_threshold{disk="/dev/sda",type="sat",smart_id="10"} 0
smartmon_spin_retry_count_threshold{disk="/dev/sdb",type="sat",smart_id="10"} 0
smartmon_spin_retry_count_value{disk="/dev/sda",type="sat",smart_id="10"} 100
smartmon_spin_retry_count_value{disk="/dev/sdb",type="sat",smart_id="10"} 100
smartmon_spin_retry_count_worst{disk="/dev/sda",type="sat",smart_id="10"} 253
smartmon_spin_retry_count_worst{disk="/dev/sdb",type="sat",smart_id="10"} 253
smartmon_spin_up_time_raw_value{disk="/dev/sda",type="sat",smart_id="3"} 1.008000e+03
smartmon_spin_up_time_raw_value{disk="/dev/sdb",type="sat",smart_id="3"} 1.025000e+03
smartmon_spin_up_time_threshold{disk="/dev/sda",type="sat",smart_id="3"} 21
smartmon_spin_up_time_threshold{disk="/dev/sdb",type="sat",smart_id="3"} 21
smartmon_spin_up_time_value{disk="/dev/sda",type="sat",smart_id="3"} 239
smartmon_spin_up_time_value{disk="/dev/sdb",type="sat",smart_id="3"} 239
smartmon_spin_up_time_worst{disk="/dev/sda",type="sat",smart_id="3"} 239
smartmon_spin_up_time_worst{disk="/dev/sdb",type="sat",smart_id="3"} 239
smartmon_start_stop_count_raw_value{disk="/dev/sda",type="sat",smart_id="4"} 4.100000e+01
smartmon_start_stop_count_raw_value{disk="/dev/sdb",type="sat",smart_id="4"} 1.700000e+01
smartmon_start_stop_count_threshold{disk="/dev/sda",type="sat",smart_id="4"} 0
smartmon_start_stop_count_threshold{disk="/dev/sdb",type="sat",smart_id="4"} 0
smartmon_start_stop_count_value{disk="/dev/sda",type="sat",smart_id="4"} 100
smartmon_start_stop_count_value{disk="/dev/sdb",type="sat",smart_id="4"} 100
smartmon_start_stop_count_worst{disk="/dev/sda",type="sat",smart_id="4"} 100
smartmon_start_stop_count_worst{disk="/dev/sdb",type="sat",smart_id="4"} 100
smartmon_temperature_celsius_raw_value{disk="/dev/sda",type="sat",smart_id="194"} 3.200000e+01
smartmon_temperature_celsius_raw_value{disk="/dev/sdb",type="sat",smart_id="194"} 3.200000e+01
smartmon_temperature_celsius_threshold{disk="/dev/sda",type="sat",smart_id="194"} 0
smartmon_temperature_celsius_threshold{disk="/dev/sdb",type="sat",smart_id="194"} 0
smartmon_temperature_celsius_value{disk="/dev/sda",type="sat",smart_id="194"} 115
smartmon_temperature_celsius_value{disk="/dev/sdb",type="sat",smart_id="194"} 115
smartmon_temperature_celsius_worst{disk="/dev/sda",type="sat",smart_id="194"} 108
smartmon_temperature_celsius_worst{disk="/dev/sdb",type="sat",smart_id="194"} 110
smartmon_udma_crc_error_count_raw_value{disk="/dev/sda",type="sat",smart_id="199"} 0.000000e+00
smartmon_udma_crc_error_count_raw_value{disk="/dev/sdb",type="sat",smart_id="199"} 0.000000e+00
smartmon_udma_crc_error_count_threshold{disk="/dev/sda",type="sat",smart_id="199"} 0
smartmon_udma_crc_error_count_threshold{disk="/dev/sdb",type="sat",smart_id="199"} 0
smartmon_udma_crc_error_count_value{disk="/dev/sda",type="sat",smart_id="199"} 200
smartmon_udma_crc_error_count_value{disk="/dev/sdb",type="sat",smart_id="199"} 200
smartmon_udma_crc_error_count_worst{disk="/dev/sda",type="sat",smart_id="199"} 200
smartmon_udma_crc_error_count_worst{disk="/dev/sdb",type="sat",smart_id="199"} 200

Event Timeline

colewhite created this paste.Feb 21 2019, 10:19 PM