Howto force a notification (before the schedul ed renotify time) for a down host/critical service ?

Tedman Eng teng at dataway.com
Wed Jul 12 19:56:26 CEST 2006



> From: Ton Voon [mailto:ton.voon at altinity.com]
>
> > <Stanley.Hopcroft at Dest.gov.au> wrote:
> > I would like to do this to send out notifications after a period of
> > no-notifications ends (we
> > have the view that people do not react well to even major crises  
> > between
> > about midnight and 4-5 am so
> > we don't send notifications during that period. However it 
> would be  
> > nice
> > to send out all the
> > notifications for outages that occurred in the no-notification  
> > period at
> > 5 am).
> 
> Sorry, no solutions, just more questions :)
> 
> We had it reported to us, but we haven't investigated further, that  
> notifications do not get resent for a contact who has a timeperiod  
> outside the original failure.
> 
> For instance, assume a service has a timeperiod of 05:00 to 
> 23:00 and  
> contacts have timeperiods of 24 hours. If the service fails at 3am,  
> Nagios will schedule the next check at 05:00. If it still fails at  
> 05:00, contacts will be notified.

That makes sense, that's how it's designed.  If ANY timeperiod filter fails
(service or contact timeperiod), the notification is not sent.  When a
service renotifies, it will check the filters again during that attempt.
And again during the next re-notify attempt, and so on.

> However, the converse is not true (and is arguably the more likely  
> scenario). Assume the service is 24 hours, but the contacts have a  
> timeperiod of 05:00 to 23:00. If the service fails at 3am, the  
> service is considered to be notified, but the filter for sending  
> notifications to contacts will fail. Contacts will not get  
> notification unless there is a notification retry.

Same as above.  The 3am notification failed a timeperiod filter, so the next
renotification will test the filter again, and again, and so forth until one
of the re-notification attempts passes all timeperiod filters.

Perhaps you're getting confused about the statement in the docs:
    "Nagios will reschedule the next notification for the host
     or service for the next valid time...This helps ensure that
     contacts are notified of problems as soon as possible..."

The nofifications are not actually scheduled for the next "valid" time.
They are just re-notified according to the notification interval, and if all
notification filters pass, then this is the "as soon as possible" described.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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