-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scsi smart data to prometheus exporter (#862)
Add scsi smart data to prometheus exporter Signed-off-by: mueller <mueller@b1-systems.de>
- Loading branch information
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee1e199
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not working with scsi typo when it under "Adaptec" controller.
upd: or when disk were emulated on for example with "QEMU"
Example output:
smartmon_device_info{disk="/dev/sda",type="scsi",vendor="QEMU",product="QEMU HARDDISK",revision="2.5+",lun_id="",model_family="",device_model="",serial_number="",firmware_version=""} 1
smartmon_device_smart_available{disk="/dev/sda",type="scsi"} 0
smartmon_device_smart_enabled{disk="/dev/sda",type="scsi"} 0
smartmon_device_smart_healthy{disk="/dev/sda",type="scsi"} 0
smartmon_power_cycle_count_raw_value{disk="/dev/sda",type="scsi",smart_id="12"}
smartmon_power_on_hours_raw_value{disk="/dev/sda",type="scsi",smart_id="9"}
smartmon_smartctl_run{disk="/dev/sda",type="scsi"} 1532097570
smartmon_temperature_celsius_raw_value{disk="/dev/sda",type="scsi",smart_id="194"}
smartmon_total_lbas_read_raw_value{disk="/dev/sda",type="scsi",smart_id="242"}
ee1e199
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kormotodor Can you file this as an issue, please include the output, and it would also help to include the output of
/usr/sbin/smartctl -A -d scsi /dev/sda
.