-
Notifications
You must be signed in to change notification settings - Fork 63
Description
[server]# /opt/sensu/embedded/bin/gem list sensu-plugins-disk-checks
*** LOCAL GEMS ***
sensu-plugins-disk-checks (5.0.0)
[server]# /opt/sensu/embedded/bin/check-smart-status.rb
SmartCheckStatus CRITICAL: #Disk:0x00000000011ca1a0 critical 5 Reallocated_Sector_Ct: 1
#Disk:0x00000000011ca1a0 critical 199 UDMA_CRC_Error_Count: 131
[server]# fdisk -l | grep Disk | grep -vE "label|identifier"
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Disk /dev/sdb: 480.1 GB, 480103981056 bytes, 937703088 sectors
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Disk /dev/sda: 480.1 GB, 480103981056 bytes, 937703088 sectors
Which disk is having an issue? How do I understand which disk is having the issue? Why isn't it labeled in /dev/sdX format?
If this can't be fixed, can we document how to determine which drive is failing?