Re: [Nagios-users] Q: Service Escalation Recovery Notifications.

2011-05-19 Thread Paul M. Dubuc
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. Dubucw...@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_notification3

 last_notification 5

 notification_interval 20

 contact_groupsnt-admins,managers

 }



 define serviceescalation{

 host_name webserver

 service_description   HTTP

 first_notification4

 last_notification 0

 notification_interval 30

 contact_groupson-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_notification2

   last_notification 0

   escalation_options r

   contact_groupson-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@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@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@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


Re: [Nagios-users] Q: Service Escalation Recovery Notifications.

2011-05-19 Thread Andreas Ericsson
On 05/19/2011 03:32 PM, Paul M. Dubuc wrote:
 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.
 

Max Schubert is working on a patch that does something similar to that.
If he doesn't complete it, I might take a look at adding it myself.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
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@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


[Nagios-users] Q: Service Escalation Recovery Notifications.

2011-05-18 Thread Paul M. Dubuc
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_notification3

 last_notification 5

 notification_interval 20

 contact_groupsnt-admins,managers

 }



 define serviceescalation{

 host_name webserver

 service_description   HTTP

 first_notification4

 last_notification 0

 notification_interval 30

 contact_groupson-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_notification2

  last_notification 0

  escalation_options r

  contact_groupson-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@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


Re: [Nagios-users] Q: Service Escalation Recovery Notifications.

2011-05-18 Thread Yueh-Hung Liu
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 w...@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@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@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