Page 1 of 1
services escalation questions
Posted: Mon Mar 14, 2016 3:50 pm
by psteam
Hi there,
I am looking for a best practice idea. Here is the scenario
We have services that will page contact group. Specifically
Now if that contact group doesn’t ack or resolves the problem after one hour it escalates to a specific contact. One hour later escalates to a second escalation person.
What would be the best idea.
Can we do service escalation per service groups?
Re: services escalation questions
Posted: Mon Mar 14, 2016 7:05 pm
by Box293
psteam wrote:We have services that will page contact group. Specifically
Now if that contact group doesn’t ack or resolves the problem after one hour it escalates to a specific contact. One hour later escalates to a second escalation person.
What would be the best idea.
Your idea is solid.
However instead of escalation to specific contacts, I would create a contact group for each level of escalation. This way, later on down the track when you want to change the people at the different escalation levels you only need to change the contact group membership.
psteam wrote:Can we do service escalation per service groups?
This recently came up and it's a feature of Core however CCM does not have the Servicegroup option. It has been added as a feature request #7923.
Currently the only way to do this is to create static escalation config files in
/usr/local/nagios/etc/static/
Re: services escalation questions
Posted: Tue Aug 02, 2016 2:49 am
by partnernet
Hello,
I have exactly the same question.
Is there a way to escalate services using a specific service group? It would be so much helpfull.
I have Nagios® Core™ Version 4.0.8 and I tried to do this following the below instructions but couldn't do it.
https://assets.nagios.com/downloads/nag ... escalation
Is it supported?
Could you also please elaborate on static config files?
Thanks,
Anna
Re: services escalation questions
Posted: Tue Aug 02, 2016 4:05 pm
by lmiltchev
You should be able to use something like this:
Code: Select all
define serviceescalation{
servicegroup_name SERVICEGROUP1,SERVICEGROUP2,...,SERVICEGROUPN
other escalation directives ...
}
Could you also please elaborate on static config files?
This pertains to Nagios XI - configuration files in the "/usr/local/nagios/etc/static" directory are processed by the monitoring engine (Nagios Core), but are not imported into the Nagios XI web configuration GUI. If seems like you are using Nagios Core, so this would not apply to you.
Re: services escalation questions
Posted: Thu Aug 25, 2016 8:24 am
by partnernet
Hello,
Thank you for your answer.
The problem is that it requires a service_description entry otherwise when I reload nagios I get errors.
I have tried using
but its not correct.
Any ideas?
Re: services escalation questions
Posted: Thu Aug 25, 2016 4:08 pm
by Box293
Can you please post your service escalation you are trying to use that isn't working.
Re: services escalation questions
Posted: Wed Sep 07, 2016 8:50 am
by partnernet
Hi,
Thank you for your reply. In the end I managed to do what I wanted. My service definition is as follows:
Code: Select all
define serviceescalation{
servicegroup_name Class1
contacts myemail
first_notification 1
last_notification 5
notification_interval 5
escalation_period 24x7
}
What would also be really helpfull would be having escalation working in different intervals.
For example I want to be notified for this servicegroup every 5 minutes in my email but I also want a notification send as SMS but every 10 minutes.
Is there a way to do this?
I tried adding a second serviceescalation but it doesn't seem to work:
Code: Select all
define serviceescalation{
servicegroup_name Class1
contacts mymobile
first_notification 1
last_notification 5
notification_interval 10
escalation_period 24x7
}
(btw the SMS sending module works without any issue)
Thanks,
Anna
Re: services escalation questions
Posted: Wed Sep 07, 2016 11:31 am
by Box293
partnernet wrote:What would also be really helpfull would be having escalation working in different intervals.
For example I want to be notified for this servicegroup every 5 minutes in my email but I also want a notification send as SMS but every 10 minutes.
Is there a way to do this?
I don't think this is possible. I've not tried this but perhaps you could create another service group and use that in another escalation to the SMS contact. However I'm thinking that because it's actually the same service that it gets applied to, only one of them will work.
You could create multiple escalations, like:
First 1
Last 2
send email
interval 5
First 3
Last 3
send SMS
interval 1
First 4
Last 5
send email
interval 5
But that's getting extreme and complicated.
Re: services escalation questions
Posted: Wed Sep 07, 2016 11:37 am
by partnernet
I will try it.
Thank again

Re: services escalation questions
Posted: Wed Sep 07, 2016 3:00 pm
by mcapra
Let us know if you need additional assistance!