Service Escalation setup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Service Escalation setup

Post by JohnFLi »

I am trying to setup a service escalation for my SQL machines.

I create a new service escalation, give it a name, the numbers, who to contact

Then I add the various hosts managed hosts section
Then managed Service, I add the various SQL services (all differently named)

When I go to apply I get the following error

Code: Select all

Error: Could not find a service matching host name 'SQL9' and description 'G1PPSRT03 SQL Service' (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 82
The host SQL9 has the SQL service named 'SQL9 -MSSQL ECOMSYNC Service'
While the service description 'G1PPSRT03 SQL Service' is with the host named G1PPSRT03

So if I take that host and service that it complained about out, and try to apply again, it complains about another host/service pair.

Am I just not getting how to set this up right??
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service Escalation setup

Post by Box293 »

When using multiple hosts AND you individually specify the services, each host must have the identically named service for this to work.

For example:

define serviceescalation {
host_name windows01,localhost
service_description Drive C: Disk Usage,Root Partition
first_notification 3
last_notification 7
notification_interval 1
escalation_period 24x7
escalation_options c,
}

This WON'T work as I know my windows01 host doesn't have a 'Root Partition' service and my localhost doesn't have a 'Drive C: Disk Usage' service.

You will need to create a separate escalation definition per host.

When using multiple hosts AND you specify all services (*), nagios determines that services are for what hosts and it works.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Service Escalation setup

Post by JohnFLi »

I was afraid of that. :o :o :o :o

Guess you can close this item
Everybody is somebody else’s weirdo
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Service Escalation setup

Post by tgriep »

OK, we will close this for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked