Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_smart_all_disks
1.16
2013-02-25
- Nagios 3.x
GPL
42857
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
# /etc/nagios/scripts/check_smart_all_disks
OK, no SMART errors found on /dev/sda /dev/sdb /dev/sdc /dev/sdd
-----------------------------------------------
# /etc/nagios/scripts/check_smart_all_disks
WARNING: SMART Errors found on disks /dev/sda [0] /dev/sdf [5] /dev/sdg [6] [TOTAL: 21]
/dev/sda [0] 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 18
/dev/sdf [5] 5 Reallocated_Sector_Ct 0x0000 001 001 000 Old_age Offline - 1
/dev/sdg [6] 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 2
Device info:
/dev/sda [8]
Device Model: INTEL SSDSC2BW240A4
Serial Number: BTDA330403DQ2403GN
User Capacity: 240 057 409 536 bytes [240 GB]
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 8049 (218 158 0)
/dev/sdf [8]
Device Model: OCZ-VERTEX450
Serial Number: OCZ-46NICRKC9OD60EOA
User Capacity: 256 060 514 304 bytes [256 GB]
9 Power_On_Hours 0x0000 100 100 000 Old_age Offline - 19141
/dev/sdg [8]
Device Model: INTEL SSDSC2BW240A4
Serial Number: BTDA331301UT2403GN
User Capacity: 240 057 409 536 bytes [240 GB]
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 8175 (100 34 0)
OK, no SMART errors found on /dev/sda /dev/sdb /dev/sdc /dev/sdd
-----------------------------------------------
# /etc/nagios/scripts/check_smart_all_disks
WARNING: SMART Errors found on disks /dev/sda [0] /dev/sdf [5] /dev/sdg [6] [TOTAL: 21]
/dev/sda [0] 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 18
/dev/sdf [5] 5 Reallocated_Sector_Ct 0x0000 001 001 000 Old_age Offline - 1
/dev/sdg [6] 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 2
Device info:
/dev/sda [8]
Device Model: INTEL SSDSC2BW240A4
Serial Number: BTDA330403DQ2403GN
User Capacity: 240 057 409 536 bytes [240 GB]
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 8049 (218 158 0)
/dev/sdf [8]
Device Model: OCZ-VERTEX450
Serial Number: OCZ-46NICRKC9OD60EOA
User Capacity: 256 060 514 304 bytes [256 GB]
9 Power_On_Hours 0x0000 100 100 000 Old_age Offline - 19141
/dev/sdg [8]
Device Model: INTEL SSDSC2BW240A4
Serial Number: BTDA331301UT2403GN
User Capacity: 240 057 409 536 bytes [240 GB]
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 8175 (100 34 0)
Reviews (1)
I would like to test this out, but Download Link is a 404.
Owner's reply
Pushed to githut some time ago