Issue with notifications on a host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Issue with notifications on a host

Post by MSPk »

I understand that it would pick the values from the template but whats bothering us is the fact that we get these message suddenly without making any change to the system.

The other question I have is about changing the notification Interval on the services. It is currently set to 60mins and we are trying to change it to 0, the bulk modification tool is no longer active as the trial period is complete. I tried to change this value in the config files but when I run the apply config from the web browser the values are changed back to 60. Is there another way to change the values as doing invidually will take a lotttt of time.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue with notifications on a host

Post by lmiltchev »

Yes, all changes to the config files made manually will be overwritten when you apply configuration. You need to change these values via the CCM, which I understand would take a long time, since your trial has expired. The other option is to purchase the Enterprise edition.
Be sure to check out our Knowledgebase for helpful articles and solutions!
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Issue with notifications on a host

Post by MSPk »

Does nagios send out an alert everytime there is a change in the status information or it does only when the status of the host/service changes?
The reason why I ask this question is we are currently configuring service checks using check_nt to monitor mutiple windows services using single check. If a single service goes down then the status of the check changes to critical, what if another service goes down before the first service is up? does another notification is sent?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issue with notifications on a host

Post by abrist »

MSPk wrote: If a single service goes down then the status of the check changes to critical, what if another service goes down before the first service is up? does another notification is sent?
As the service check would already be in a HARD CRITICAL problem state, no. You will not receive a second notification if another service on the same check goes critical.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Issue with notifications on a host

Post by MSPk »

Hi,

We have set the notification interval as zero for all the hosts to stop sending repeatative emails as we have configured our ticketing tool to raise automated alerts using these emails. however one of the teams want those alerts to be sent which, if enabled will create multiple tickets in our ITSM tool (every alert will raise a ticket on the tool). Is there any option where in I can set the repeatative alerts to be sent only to select contacts who receive alerts for that host.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issue with notifications on a host

Post by abrist »

You will want to look into escalations, the following link is core specific, but the general ideas still apply to XI:
http://nagios.sourceforge.net/docs/3_0/escalations.html
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Issue with notifications on a host

Post by MSPk »

I have set the first notification as one to make the escalatio n valid after the 1st notification is sent put and last notification as zero - to keep it valid till the service/host is UP and the check Interval as 60 to send out an email every 60 mins till the host/service is UP.....is my understanding correct? or should the values of first and last notificatio should be different?

I'm trying to send out an email to the team every 60mins till the issue is resolved.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue with notifications on a host

Post by lmiltchev »

It sounds right, but just to be sure, go to: CCM->Host Escalations->click on the "View Text Config", and post the output.
I'm trying to send out an email to the team every 60mins till the issue is resolved.
Have you been able to achieve this?
Be sure to check out our Knowledgebase for helpful articles and solutions!
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Issue with notifications on a host

Post by MSPk »

Code: Select all

define hostescalation {
	host_name                     		list of servers
	contacts                      		test
	first_notification            		0
	last_notification             		0
	notification_interval         		60
	escalation_period             		24x7
	escalation_options            		d,
	}	
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issue with notifications on a host

Post by abrist »

MSPk wrote: first_notification 0
I believe this directive should be set to "1".
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked