SMART hard-disk monitoring

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Thu Aug 31 16:29:41 CEST 2006


Has anyone got a check plugin working for monitoring SMART hard disk 
status thresholds?

The only one I found on nagiosexchange (check_smartmon) needs to be run 
as root to get permission to read the drive stats, and also doesn't work 
- it causes the below Python trace-back:

Traceback (most recent call last):
  File "./check_smartmon", line 254, in ?
    (healthStatus, temperature) = parseOutput(healthStatusOutput, 
temperatureOutput)
  File "./check_smartmon", line 163, in parseOutput
    healthStatus = parts[-1]
IndexError: list index out of range


I've just ran smartctl and it appears you do need to be root, so if I 
can find a working plugin I can just sudo the nagios user.

Any ideas?

Thanks

Andy.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list