I am wanting to check the status of dell systems for hardware errors (amber lights) using the bmcutils.
For example: ipmish -ip <hostname> -u <username> -p <password> sel get returns 1= 2005/04/05 17:34:19, #81 Event Logging Disabled, Log Area Reset/Clear 2= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 3= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 4= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 5= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 6= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 7= 2006/01/13 14:51:57, #1 Memory, Correctable ECC/other correctable memory error 8= 2006/01/13 14:51:58, #1 Memory, Correctable ECC/other correctable memory error 9= 2006/01/13 14:51:59, #1 Memory, Correctable ECC/other correctable memory error 10= 2006/01/13 14:52:00, #1 Memory, Correctable ECC/other correctable memory error 11= 2006/01/13 14:52:00, #1 Memory, Correctable ECC/other correctable memory error 12= 2006/01/13 14:52:00, #6 Event Logging Disabled, Correctable Memory Error Logging Disabled if there are errors. But basically I want an alert if there is more than one line in this output. I have not run across a plug that would allow for this, does any one know of one that might suffice. BTW, the bmcutils are only installed on a couple of the nodes in the cluster so I need to run the ipmish command on a remote host not the node that I am checking for. Example: host242 is the nagios server and also has the ipmish/bmc utilities installed, and can provide the information for all hosts. Thanks Mike -- -- Mike Linden ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@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