> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Hari Sekhon > Sent: Wednesday, November 01, 2006 7:16 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Event Handlers and service check timeouts > > Hi, > > I would like to implement an event handler but I find that I get > service check timeouts for some services. Is there a way of implementing > event handlers so that they do not fire when a service goes critical as > the result of a service check timeout?
No, not by Nagios configuration. Nagios doesn't attempt to parse the plugin text output, only the exit code so all CRITICAL states are indistinguishable. You can however do that quite easily in an event handler script. If you see that string in the plugin ouput ($SERVICEOUTPUT$ macro), then just exit the event handler. -- Marc ------------------------------------------------------------------------- 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@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