Escalations / 15 minute wait on notifications

Marc Powell marc at ena.com
Thu May 13 16:33:15 CEST 2004


Robert Nelson <mailto:rnelson at windchannel.com> wrote:
> Hello,
> 
> I'm sure other people run into the problem where a device flaps, or
> on occasion fails (hard-state) for one pass of checks before
> recovering.  
> You then get a notification, and then another when it recovers. The
> worst is when you're on-call and you get 8 of them at night before it
> goes into a "flapping" state, and you sleep soundly through it while
> your spouse beats you because she heard it...so, anyway :)   
> 
> I was curious what tactics other people take to delay notification,
> even on a hard state failure, until at least one more pass of nagios
> checks occurs. Standard tactics in our office is not to action on all
> but a few hosts unless it stays down for 10-15 minutes. Is there a
> way, using escalations or some other trick I'm unaware of, to send
> notifications to an email address immediately, and only send a page
> to the on-call person after 15 minutes have elapsed?      

To have nagios wait 15 minutes before doing anything at all, put this in
your service definition or template:

max_check_attempts              5
normal_check_interval           5
retry_check_interval            3

The service will need to be down for 5 checks at 3 minute intervals
resulting in an approximate 15 minute delay before notification goes
out. You can also to it with escalations, just set your
first_notification to whichever contact attempt matches your timing you
want based on your notification_interval defined for your service.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
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