Search Exchange

Search All Sites

Nagios Log Server Now Available - Download Now

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 status ZCU

Bookmark and Share

Current Version
1.0.5
Last Release Date
2014-05-03
Compatible With
  • Nagios 3.x
E-mail
License
GPL
Hits
30955
Files:
FileDescription
check_smart.zcu.plRevision 1.0.5
Check SMART status of ATA/SCSI/SAT disks and Megaraid controller.
Check SMART status of ATA/SCSI/SAT disks, returning any usable metrics as perfdata. With Megaraid controller support.

For usage information, run ./check_smart.zcu.pl -h

This script was created under contract for the US Government and is therefore Public Domain, originally created by Kurt Yoder, modified by Philippe Genonceaux and finished by Michal Švamberg.

Changes in 1.0.5:
- NEW: change default value of accepted reallocated sectors to 0 (zero)
- NEW: append inform messages if used -l, -r or -c option

Changes in 1.0.4:
- FIX: change parameter of smartctl from -A to -a (now get correct return code).
- FIX: needs divide return code from system() by 256 (or bits move '>> 8'), see example at 'perldoc -f system'
- NEW: option -r as minimum of reallocated sectors (default 10)
- NEW: option -c disabling return code 0x04 for checksum of data structure
- NEW: option -l disabling return code 0x40 with message 'Error log contains errors'
- NEW: add support interface 'sat+megaraid,N'