Check SMART status
This plugin does SMART monitoring both ATA and SCSI disks, has an easy usage syntax, and automatically produces perfdata for all applicable metrics.
Why did I write yet another SMART plugin? Other SMART plugins I tried were rather complex, and did not offer complete monitoring for ATA and SCSI disks.
To use, download file and make it executable (Linux/Unix:
chmod 755 check\_smart). Run with
./check\_smart -h to get usage information. Run with
--debug flag to see exactly what it checks.
Tested under Nagios 3; probably also works for Nagios 1 and 2.