how to loop event-handlers

Patrick Morris patrick.morris at hp.com
Wed Sep 27 22:24:41 CEST 2006


On Wed, 27 Sep 2006, orzeh wrote:

> It is possible to call event handlers infinitely by nagios? I mean if 
> the host goes to 'down' sate the event handler is executing correctly 
> but how do i can enable to execute handler after $max_check_attempts 
> times or if host in state 'down' during the restart nagios daemon (eg 
> via external command).

Just make sure you pass any info you need as parameters to your
eventhandler script, and handle them there.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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