Delay notification/escalations

Andreas Ericsson ae at op5.se
Sat Dec 15 10:24:07 CET 2007


Israel Brewster wrote:
> I need some clarification of how nagios will respond to something I am  
> trying to do. I have a number of hosts I am monitoring that I want  
> nagios to note immediately (well, almost) if they go down, but I don't  
> want to receive a notification unless they stay in a hard down state  
> for more than, say, 5 minutes. Now if I understand things correctly, I  
> can accomplish this using host escalations by setting the notification  
> options on the host to n (none) and the notification interval to 5  
> minutes, and then setting up a host escalation with a  
> first_notification directive of 2. Does this sound correct?
> 
> I have a couple of concerns about this setup. From my reading of the  
> documentation (correct me if I am wrong), it sounds as though  
> escalations only change the contact_groups and notification_periods of  
> the notifications. If I have the notification options of the host set  
> to n, does the escalation override this? If not, and I set the host  
> notification options to, say, d,r, then how do I prevent a  
> notification being sent out immediately when the host goes down? Does  
> the notification_interval directive even have any effect if the  
> notification_options are set to none? The last thing I want to do is  
> try making this change, and end up not being notified at all when a  
> host goes down for an extended period of time. Thanks.
> 

You should be able to use "first_notification_delay" for this. I'm not
sure which version it's included in, but 3.x will almost certainly have
it.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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