Patrick Morris napisa?(a):
> 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.
>
>   
Thanks for the answer!
You mean to pass the date of the last $hoststate and handle the loop by 
handler? Nagios cannot do this? I've created test host with non-existing 
ip (on my net) and when host goes down/hard the handler is executed only 
_once_ and from yesterday (if i remember) event handler never was 
executed second time (nagios logs are also without something about 
executing handler for more than once)

regards
orzeh


-------------------------------------------------------------------------
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
[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

Reply via email to