Notification escalate too fast if no one notified

Ethan Galstad nagios at nagios.org
Wed Aug 11 04:52:37 CEST 2004


The submitted patch had some negative side effects, but it did point 
out a closely related bug: the current notification number should not 
be incremented if no contacts were notified.  I'll get that patched 
tonight.  The original thought regarding the code you patched was 
that notification variables (current notification #, next 
notification time, etc.) should not get updated if no one actually 
gets notified.  This includes contacts that have no valid 
timeperiods.  

Unfortunately, this doesn't solve your problem. What I would suggest 
is that you set yourself to be the default contact for the host (with 
a default notification interval of 120 minutes) and keep the 
escalation you've already created.  This will have the effect you're 
looking for.  You will be notified first at 120 minutes.  After that, 
the escalation will kick in and you will be notified every 30 minutes 
until the problem is resolved.


On 6 Aug 2004 at 16:00, Shad L. Lords wrote:

> I've been chasing a problem for the last little while with
> notifications escalating too fast.  The situation is this.  We are
> pinging some routers that we are not in charge of maintaining every 5
> minutes.  I have notification interval set to 30 minutes.  If I set a
> dummy contact that has notification hours of none and setup a host
> escalation to start at notification 5 and go to escalation 0, I would
> expect the first notification to happen 2 hours after the router goes
> down and keep notifying me every 30 minutes until it comes up.
> 
> The issue is that I was getting notified at about 20 minutes instead
> of 2 hours.  Digging into the code I found that even if a notification
> should go out if no one is notified that it doesn't reset the next
> notification time. The attached patch fixes this issue for both hosts
> and services.
> 
> -Shad 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285




More information about the Developers mailing list