Service Escalation Timing Issue

Tillotson, Jeff jtillotson at techtarget.com
Tue Jun 22 11:06:35 CEST 2010


I've got a service that I've set up with the following requirements.  E-mail a certain group after service has been down for 5 minutes.  page when service has been down for 10 minutes.  Then, page again after 30 minutes.  I'm fairly certain my problem is with notification_interval in the service_escalation and that I'm misunderstanding this from the documentation:
"When defining notification escalations, it is important to keep in mind that any contact groups that were members of "lower" escalations (i.e. those with lower notification number ranges) should also be included in "higher" escalation definitions. This should be done to ensure that anyone who gets notified of a problem continues to get notified as the problem is escalated."
  

Following are the configuration options (I've snipped some options down):

Nagios.cfg:
interval_length=1  (One second)

Template:

define service{
        name                            distrib-nevent-graph
        check_period                    24x7
        max_check_attempts              2
        contact_groups                  no-one
        notification_options            w,u,c,r 
        notification_interval           60
        notification_period             24x7
        register                        0      
        }

Service:
define service{
        use                                       distrib-nevent-graph
        hostgroup_name                  location-v7apache
        service_description              v7apache-check
        }

Service Escalation:
define serviceescalation {
    hostgroup_name            location-v7apache
    service_description       v7apache-check
    first_notification        5
    last_notification         0
    notification_interval     1800
    contact_groups            nopage, core
}
define serviceescalation {
    hostgroup_name            location-v7apache
    service_description       v7apache-check
    first_notification        10
    last_notification         0
    notification_interval     1800
    contact_groups            page, nopage, core
}


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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