Home Directory Plugins Operating Systems Linux check_smart_all_disks

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_smart_all_disks

Current Version
1.16
Last Release Date
2013-02-25
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
40672
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Script checks all disks for their SMART values. The selected ones are reported, if their value is bigger what 0.
# /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)

Reviews (1)
bysalderman1, March 27, 2014
1 of 2 people found this review helpful
I would like to test this out, but Download Link is a 404.
Owner's reply

Pushed to githut some time ago