Recovery notifications after escalations

Marcus Rejås marcus at rejas.se
Tue Jun 9 21:18:10 CEST 2009


On 06/09 15:47, Andreas Ericsson wrote:
> Marcus Rejås wrote:
> > 
> > If you do not have that many contacts, create an additional one for each
> > member in the on-call with only recovery-alerts and put them in a group, e.g.
> > on-call-recovery and escalate to that one. They will now get the recovery
> > notification.
> > 
> 
> I don't think they will. There are checks to make sure recovery notifications
> are only sent to contacts who have received the previous problem notification.

You are absolutely right (as always, however this time I took the time to
test and prove myself wrong...). 

I am, and was, aware of the checks you are referring to and they really do
make sense in most places e.g. leaving and entering timeperiods. But in this
context they are confusing.

If I set up a contact with:

host_notifications_enabled      1
service_notifications_enabled   1
service_notification_period     24x7
host_notification_period        24x7
host_notification_options       r
service_notification_options    r

It will never ever get any notifications. To be honest I cannot see any
practical use of this contact but until I tested now I would say that this
contact should get only recovery notifications. This is not something I would
see fixed but it might be good to point this out on host- and
service_notification_options in the manual.


> Sending a patch to make sure each problem object in the Nagios core contains a
> concatenated list of "normal" and escalated contacts would be favourite, since
> that would mean everyone who received the problem notification will also get
> the recovery notification. This would best be implemented by building a linked
> list with only unique elements to operate on. The list should probably contain
> a marker to mention which contacts were added from the escalation, so the
> original contacts do not get notified if they don't want to get the escalated
> notifications.

I agree :-)

-- 
Marcus Rejås          jabber:   marcus at jabber.rejas.se  ,= ,-_-. =. 
Rejås Datakonsult     e-mail:   marcus at rejas.se        ((_/)o o(\_))
Kaserngatan 1         web:      http://www.rejas.se     `-'(. .)`-' 
s-761 46 Norrtälje    gpg-key:  http://gpg.rejas.se         \_/ 

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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