Regarding escalation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Regarding escalation

Post by inas.labib »

Hi ,

1) If I create "Service escalation" --> with specific Host group , and add all available services .
Will Nagios escalate 'only' to the services available in Host group which I added (or) for all services ?

2) If I create "Host escalation" --> with specific Host group , will nagios escalate to all the services available under the host group hosts which added ?

Kindly clarify.

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

Re: Regarding escalation

Post by lmiltchev »

1) If I create "Service escalation" --> with specific Host group , and add all available services .
Will Nagios escalate 'only' to the services available in Host group which I added (or) for all services ?
How are you adding services - by selecting all of them or by using the asterisk ("*")? If you used the "*", nagios will add all of the services of the hosts, members of your hostgroup.
2) If I create "Host escalation" --> with specific Host group , will nagios escalate to all the services available under the host group hosts which added ?
No. Host escalations are used to escalate notifications for a particular host, not its services.

https://assets.nagios.com/downloads/nag ... escalation
Be sure to check out our Knowledgebase for helpful articles and solutions!
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: Regarding escalation

Post by inas.labib »

Please find the attached screenshot of the "Service Escalation" which I configured.

Service escalation :
Host group : linux-servers
Manage services : *

This service escalation notifies 'only' to the services available in the hosts from "linux-servers" host group. Other host group services alerts are not escalated.

Kindly confirm this is the correct behavior of "Service Escalation"
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Regarding escalation

Post by lmiltchev »

This looks correct with the exception of the two asterisks. I am not sure why you have two - I have one only on my test box. What is the version of the Nagios XI that you are currently running?

Your config should look something like this:

Code: Select all

define serviceescalation {
        #       config_name     Linux services escalation
                hostgroup_name                          linux-servers
                service_description                     *
                contacts                                umesh.su
                ...
                }
If you opened up the "/usr/local/nagios/var/objects.cache" file in a text editor and searched for "serviceescalation", you would see ALL of the services have have been "escalated".

Note: The "objects.cache" could be in a different location if you are using ram disk.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Regarding escalation

Post by bwallace »

I too had the same results as lmiltchev = only one option to add * (Manage Services) and that option no longer exists upon selecting it, so not sure why two asterisks are seen in your screenshot.
Be sure to check out the Knowledgebase for helpful articles and solutions!
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: Regarding escalation

Post by inas.labib »

We use Nagis XI 5.2.2 . I selected single asterisk . But after applying configuration it becomes two asterisks
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Regarding escalation

Post by bwallace »

That's odd. Could you post the output of the objects.cache file (define serviceescalation), as lmiltchev mentioned a couple of posts back?
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked