Q: Service Escalation Recovery Notifications.

Paul M. Dubuc work at paul.dubuc.org
Thu May 19 15:32:56 CEST 2011


OK, but wouldn't it be nice if all contacts who got an error notification were 
able to get the recovery message instead of just the one last notified?  Is 
there any way to do that?  Setting up an explicit serviceescalation for 
recovery notifications doesn't seem to work.

Yueh-Hung Liu wrote:
> by the examples from nagios documentation, only on-call-support will
> get the 6th and above notifications.
>
>
> On Thu, May 19, 2011 at 4:33 AM, Paul M. Dubuc<work at paul.dubuc.org>  wrote:
>> Here is an example from the Nagios 3.2.3 documentation on service escalations.
>>
>>> Recovery Notifications
>>>
>>> Recovery notifications are slightly different than problem notifications
>>> when it comes to escalations. Take the following example:
>>>
>>> define serviceescalation{
>>>
>>> host_name             webserver
>>>
>>> service_description   HTTP
>>>
>>> first_notification    3
>>>
>>> last_notification     5
>>>
>>> notification_interval 20
>>>
>>> contact_groups                nt-admins,managers
>>>
>>> }
>>>
>>>
>>>
>>> define serviceescalation{
>>>
>>> host_name             webserver
>>>
>>> service_description   HTTP
>>>
>>> first_notification    4
>>>
>>> last_notification     0
>>>
>>> notification_interval 30
>>>
>>> contact_groups                on-call-support
>>>
>>> }
>>>
>>>
>>> If, after three problem notifications, a recovery notification is sent out
>>> for the service, who gets notified? The recovery is actually the fourth
>>> notification that gets sent out. However, the escalation code is smart
>>> enough to realize that only those people who were notified about the
>>> problem on the third notification should be notified about the recovery. In
>>> this case, the nt-admins and managers contact groups would be notified of
>>> the recovery.
>>
>> My question is who gets the recovery notification after 6 problem
>> notifications?  Only on-call-support (the last one notified), or all three
>> contact groups (since all received notifications of the problem)?  If only
>> on-call-support (which seems to be the case), how can I ensure that the others
>> get it too?
>>
>> I tried adding a service escalation for the recovery notification, like so in
>> keeping with the above example:
>>
>> define serviceescalation{
>>
>>   host_name             webserver
>>
>>   service_description   HTTP
>>
>>   first_notification    2
>>
>>   last_notification     0
>>
>>   escalation_options     r
>>
>>   contact_groups                on-call-support,nt-admins,managers
>>
>>   }
>>
>> but that doesn't seem to work. I had thought this fixed the problem but the
>> recovery notification only seems to go to the last contact(s) that were
>> notified of the problem.
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
>>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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 Developers mailing list