problems with service escalations

Morris, Patrick patrick.morris at hp.com
Fri Nov 6 02:37:45 CET 2009


Terry wrote:
> I am having a problem configuration service escalations.
>
> Here's what I want:
> - all notifications go to the contact configured in the service/host
> - first notification only to go to support at domain.com
> - second to infinity to go to domain_secondary contactgroup
> - fourth to infinity to go to domain_tertiary contactgroup
>
> Here are my service escalations:
>
> define serviceescalation{
>         hostgroup_name          z-allhosts
>         service_description     .*
>         contacts                support at domain.com
>         first_notification      1
>         last_notification       1
>         notification_interval   30
>         escalation_options      w,u,c
>         }
> # secondary on call
> define serviceescalation{
>         hostgroup_name          z-allhosts
>         service_description     .*
>         contact_groups          domain_secondary
>         first_notification      2
>         last_notification       0
>         notification_interval   30
>         escalation_options      w,u,c,r
>         }
> # tertiary on call
> define serviceescalation{
>         hostgroup_name          z-allhosts
>         service_description     .*
>         contact_groups          domain_tertiary
>         first_notification      4
>         last_notification       0
>         notification_interval   30
>         escalation_options      w,u,c,r
>         }
>
> I can't seem to get it working correctly.  I am also confused about
> how the primary contact (configured in the service) gets notified when
> there are escalations in place.


If you're using Nagios 3, sticking a "+" in front of the contact groups 
in your escalation definitions will make them additive, and should do 
what you want.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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