Running eventhandlers at every checks

Paul L. Allen pla at softflare.com
Mon Jul 5 19:14:12 CEST 2004


Horvath Tamas writes:
> We need an opportunity that this event hndler command executes regurarly
> (when a service check fails and Nagios tries to see whether the
> underlying host (VPN Concentrator) is up or down).

Have the event handler echo the state to a file.  Have a cron job check
the contents of the file for a critical state and do whatever is necessary. 

-- 
Paul Allen
Softflare Support 




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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