service escalations

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

service escalations

Post by kendallchenoweth »

I've setup service escalations in the following manner, but I don't see the service escalations working. Can you please assist me with what I'm doing wrong? Thanks in adavance!

I want the service below (for host rubyext-06-ls) to escalate. The initial notification is successful, but escalation never occurs.

Code: Select all

define serviceescalation {
        hostgroup_name                          external-apache-servers-lnx,external-apache-servers-sol,[b]external-ruby-apache2-servers[/b]
        service_description                     [b]HTTP apache status 80[/b]
        contact_groups                          apache_admins,webinfra,webinfra-pager
        first_notification                      2
        last_notification                       0
        notification_interval                   15
        escalation_period                       24x7
        }

Code: Select all

define service {
	service_description		[b]HTTP apache status 80[/b]
	use				apache-service_notify
	hostgroup_name			external-apache-servers-lnx,external-apache-servers-sol,[b]external-ruby-apache2-se
rvers[/b],internal-apache-servers-lnx,internal-apache-servers-sol,passenger-servers
	display_name			HTTP apache status 80
	servicegroups			apache,ruby-apache2
	check_command			check-apache-status!5!1!!!!!!
	obsess_over_service		1
	register			1
	}

Code: Select all

define host {
        host_name                       rubyext-06-ls
        use                             [b]external-ruby-apache2-server[/b]
        alias                           rubyext-06-ls
        display_name                    rubyext-06-ls
        address                         rubyext-06-ls.mathworks.com
        hostgroups                      external-ruby-apache2-servers
        _instance                       ls
        register                        1
        }

Code: Select all

define service {
       name                                     apache-service_notify
       service_description                      apache-service_notify
       display_name                             apache-service_notify
       use                                      apache-service
       notification_period                      24x7
       notifications_enabled                    1
       contact_groups                           apache_admins
       register                                 0

} 

Code: Select all

define service {
       name                                     apache-service
       service_description                      apache-service
       display_name                             apache-service
       use                                      mathworks-service
       register                                 0

}

Code: Select all

define service {
       name                                     mathworks-service
       service_description                      mathworks-service
       display_name                             mathworks-service
       use                                      generic-service
       is_volatile                              0
       initial_state                            o
       max_check_attempts                       3
       check_interval                           5
       retry_interval                           1
       active_checks_enabled                    1
       passive_checks_enabled                   1
       check_period                             24x7
       parallelize_check                        1
       obsess_over_service                      1
       check_freshness                          0
       event_handler_enabled                    0
       flap_detection_enabled                   1
       flap_detection_options                   o,w,c,u,
       process_perf_data                        1
       retain_status_information                1
       retain_nonstatus_information             1
       notification_interval                    5
       first_notification_delay                 0
       notification_period                      24x7
       notification_options                     w,c,u,r,f,s,
       notifications_enabled                    1
       contacts                                 nobody
       contact_groups                           nobody
       failure_prediction_enabled               1
       register                                 0

} 

Code: Select all

define service {
       name                                     generic-service
       service_description                      generic-service
       display_name                             generic-service
       is_volatile                              0
       max_check_attempts                       3
       check_interval                           10
       retry_interval                           2
       active_checks_enabled                    1
       passive_checks_enabled                   1
       check_period                             24x7
       parallelize_check                        1
       obsess_over_service                      1
       check_freshness                          0
       event_handler_enabled                    1
       flap_detection_enabled                   1
       process_perf_data                        1
       retain_status_information                1
       retain_nonstatus_information             1
       notification_interval                    60
       notification_period                      24x7
       notification_options                     w,c,u,r,
       notifications_enabled                    1
       contact_groups                           admins
       failure_prediction_enabled               1
       register                                 0

} 
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: service escalations

Post by lmiltchev »

Can you show us screenshots of the "State History" and "Notifications" reports, filtered for "HTTP apache status 80"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked