Notification after host down 10 minutes once only

Andreas Ericsson ae at op5.se
Tue Jul 13 12:01:44 CEST 2004


C. Bensend wrote:
>>>I want to only send an email notification once a host has been down for
>>>10
>>>minutes and then to only send one email for that host unless it comes
>>>back
>>>up again. In reading the documentation I can't see a way to make this
>>>happen.
>>>
>>>Anybody know of the way to set this up?
>>>
>>
>>Work some magic with escalations. It's a bit of a hack, but will do what
>>you want. Read about it in the documentation.
> 
> 
> Ummmmmm...  Am I missing something?  In the host definition:
> 
> max_check_attempts 60
> notification_interval 0
> 
> The max_check_attempts should be about 10 minutes, and a
> notification_interval of 0 will make it alert once only.  Isn't
> that's what's desired?  If so, why mess with escalations (honest
> question)?
> 

Because host checks are fired in a serialized manner without delay and 
while holding service checks back. Making one host check take 10 minutes 
would cause a serious interruption in normal monitoring logic.
max_check_attempts also isn't a very good way of keeping time, since the 
plugin can fail at an earlier stage depending on how its done and how 
the network looks.

> Benny
> 
> 

-- 
Sourcerer / Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se


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