event handler macros

Roy Kidder nagios at jehster.net
Mon Nov 7 16:50:25 CET 2005


Andreas Ericsson wrote:
> The easiest is probably to set your script as notification command for a
contact. This will nicely bypass all the troubles (and be sane at the
same time).

I thought about this, and may still go down this path. The one caveat is
that the script might take some time to run (ie do a traceroute to the
external interface of a vpn session across the Internet timing out the
majority of the way). In that case, my alert might come several minutes
after the actual event.

One way around it would be to generate the initial alert before doing the
time consuming stuff...







-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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