Re: [Nagios-users] SMART hard-disk monitoring

2006-09-01 Thread Andre Bergei
> Has anyone got a check plugin working for monitoring SMART hard disk > status thresholds? Just another idea here: If you got smarttools installed, and net snmpd running you can use "extended" net snmp checks. In your snmpd.conf add something like this: (change your device settings of course

Re: [Nagios-users] SMART hard-disk monitoring

2006-08-31 Thread Derek Olsen
Andy. The output if their is a problem will look like this. The notification will only include the device that is in a down state. * Nagios * Notification Type: PROBLEM Service: DiskDrives Host: the.name.of.host Address: the.name.of.host State: CRITICAL Date/Time: Thu Aug 17 09:

Re: [Nagios-users] SMART hard-disk monitoring

2006-08-31 Thread Derek Olsen
Andy. I've attached the check_smart we use. I think it's a barely modified version of the one that comes with the nagios plugins. In the script we use the output of /sbin/sfdisk -s to find out which scsi disks are on the local box because we ran into problems using the output of scsii

[Nagios-users] SMART hard-disk monitoring

2006-08-31 Thread Andy Shellam
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 rece