Alert Generation Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Alert Generation Question

Post by rajasegar »

Nagiso XI 2014R1.2

There is a requirement as follows

1) First alert to be generated as per normal
2) 2nd Alert to be generated after 10 minutes
3) No more alert to be generated unless the status changes

I am stuck at number 3. Please advice on how to do this.

Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Alert Generation Question

Post by lmiltchev »

I am stuck at number 3. Please advice on how to do this.
What have you tried so far? Are you using service escalations?

You could probably try something like this:

Code: Select all

define serviceescalation {
	host_name                     		yourhost
	service_description           		yourservice
	contacts                      		yourcontact
	first_notification            		0
	last_notification             		2
	notification_interval         		10
	escalation_period             		24x7
	escalation_options            		w,c,u,r
	}
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Alert Generation Question

Post by rajasegar »

lmiltchev wrote:
I am stuck at number 3. Please advice on how to do this.
What have you tried so far? Are you using service escalations?

You could probably try something like this:

Code: Select all

define serviceescalation {
	host_name                     		yourhost
	service_description           		yourservice
	contacts                      		yourcontact
	first_notification            		0
	last_notification             		2
	notification_interval         		10
	escalation_period             		24x7
	escalation_options            		w,c,u,r
	}
Thanks, will try this.

Set the initial service to alert only once.
Let the service escalation take care of the second.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Alert Generation Question

Post by lmiltchev »

Sure. Let us know if this worked for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Alert Generation Question

Post by rajasegar »

lmiltchev wrote:Sure. Let us know if this worked for you.
Please close this ticket.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked