Nagios xi and service escalation

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Nagios xi and service escalation

Post by TSCAdmin »

Hi,

I'm not sure if it is a bug but it seems that Nagios xi does not properly honour the service escalation definitions the way Nagios Core does. I defined it as follows:

Code: Select all

define serviceescalation {
	hostgroup_name                webservers
	service_description            HTTP
	first_notification               3
	last_notification                5
	notification_interval          15
	contact_groups                  nt-admins
	}

Code: Select all

define serviceescalation {
	hostgroup_name                webservers
	service_description            HTTP
	first_notification               6
	last_notification                10
	notification_interval          15
	contact_groups                  nt-admins,managers
	}

Code: Select all

define serviceescalation {
	hostgroup_name               webservers
	service_description           HTTP
	first_notification              11
	last_notification               0
	notification_interval	       15
	contact_groups                 nt-admins,managers,everyone
	}
I imported the serviceescalations.cfg file using CCM's import files tool. After the configuration was applied and I checked it under CCM as well as in etc/serviceescalations.cfg there was only one definition, the last one, the first two disappeared.

Is there something I am missing or there indeed is a bug?

Thanks in advance
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios xi and service escalation

Post by lmiltchev »

This is set up a bit differently in Nagios xi. I believe it is going to work but you will have to enter these service escalations manually (one-by-one) through the CCM:

Core Config Manager->Alerting->Service Escalations->Add New

Enter a "Config Name" - it could be anything, for example, "esc1". This doesn't matter, because your escalation will be still defined in the serviceescalations.cfg file. Enter the rest of the required info, click on "Save" and "Apply Configuration".

Do the same for the other two escalations. You can use different config names, for example, "esc2" and "esc3" - again, it doesn't matter. These will be added to the serviceescalations.cfg file as well.

Note: One gotcha - if the service (HTTP) is not common for all members of the "webservers" hostgroup, you will get a config error and won't be able to apply configuration.

Let me know if this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!