Service Escalation via Host Group

Marc Haber mh+nagios-users at zugschlus.de
Fri Dec 31 02:03:52 CET 2010


Hi,

I would like to have host and service escalations for all hosts that
are in a certain host group. The following hostescalation definition
seems to work fine:

define hostescalation {
        hostgroup_name                  norm-notify
        contact_groups                  admins-mail
        first_notification              1
        last_notification               0
        notification_interval           120
        escalation_options              d,u,r
        escalation_period               24x7
}

define hostescalation {
        hostgroup_name                  norm-notify
        contact_groups                  admins-sms
        first_notification              2
        last_notification               0
        notification_interval           120
        escalation_options              d,u,r
        escalation_period               24x7
}

The analogous service escalation definition is ignored:

define serviceescalation {
        host_name                       *
        service_description             *
        hostgroup_name                  norm-notify
        contact_groups                  admins-mail
        first_notification              1
        last_notification               0
        notification_interval           120
        escalation_options              w,u,c,r
        escalation_period               24x7
}

define serviceescalation {
        host_name                       *
        service_description             *
        hostgroup_name                  norm-notify
        contact_groups                  admins-sms
        first_notification              2
        last_notification               0
        notification_interval           120
        escalation_options              w,u,c,r
        escalation_period               24x7
}

When a service on a host which is member of host group norm-notify
goes down, notifications go out to the contact group that is mentioned
in the service definition. The service escalation definition seems to
be ignored.

Any idea what might be going wrong?

Greetings
Marc


-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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