On Sun, 2 Mar 2008 23:14:25 -0500 Drew Weaver <[EMAIL PROTECTED]> wrote:
> Hi there. I am attempting to implement a 3rd party > plugin event handler which requires 3 host failures in order to > activate. For whatever reason (I am assuming my configuration may be > at fault) my Nagios installation never goes past 1/5 on 'Current > Attempt' in the Nagios GUI. Maybe you'll be better off using SEC (simple event correlator) [1] and using very simple event handlers that within Nagios that write textual descriptions of the events of interest into a named pipe that the SEC process is listening on, and then have SEC execute the real action that you want to happen when those three hosts go down. You're trying to do some fairly non-trivial event correlation already when you say the event handler needs to execute after three host failures and I don't think that Nagios by itself has the facilities to be able to do something like that cleanly. [1] http://www.estpak.ee/~risto/sec/ -- An expert is someone who knows some of the worst mistakes that can be made in his subject, and how to avoid them. http://stormwyrm.blogspot.com
signature.asc
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Nagios-users mailing list [email protected] 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
