services escalation questions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
psteam
Posts: 32
Joined: Fri Dec 02, 2011 12:03 pm
Location: Montreal, Quebec

services escalation questions

Post 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?
Mediagrif
Prod Support Team
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: services escalation questions

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
partnernet
Posts: 13
Joined: Fri Apr 22, 2016 2:13 am

Re: services escalation questions

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: services escalation questions

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
partnernet
Posts: 13
Joined: Fri Apr 22, 2016 2:13 am

Re: services escalation questions

Post 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

Code: Select all

service_description *
but its not correct.

Any ideas?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: services escalation questions

Post by Box293 »

Can you please post your service escalation you are trying to use that isn't working.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
partnernet
Posts: 13
Joined: Fri Apr 22, 2016 2:13 am

Re: services escalation questions

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: services escalation questions

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
partnernet
Posts: 13
Joined: Fri Apr 22, 2016 2:13 am

Re: services escalation questions

Post by partnernet »

I will try it.
Thank again :)
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: services escalation questions

Post by mcapra »

Let us know if you need additional assistance!
Former Nagios employee
https://www.mcapra.com/
Locked