Page 1 of 1

Regarding escalation

Posted: Wed Dec 30, 2015 5:03 am
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,

Re: Regarding escalation

Posted: Wed Dec 30, 2015 2:08 pm
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

Re: Regarding escalation

Posted: Sat Jan 02, 2016 6:30 am
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"

Re: Regarding escalation

Posted: Mon Jan 04, 2016 12:09 pm
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.

Re: Regarding escalation

Posted: Mon Jan 04, 2016 12:23 pm
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.

Re: Regarding escalation

Posted: Tue Jan 05, 2016 9:47 am
by inas.labib
We use Nagis XI 5.2.2 . I selected single asterisk . But after applying configuration it becomes two asterisks

Re: Regarding escalation

Posted: Tue Jan 05, 2016 10:12 am
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?