Page 1 of 1

Nagios Email alerts problem

Posted: Thu Jul 30, 2015 7:49 am
by itbilling
Is there a way when we do downtime of all hosts, We do not want notification from services in Email. Our emails are flooded with downtime Services Emails.

As if the host is down it is assume services are down too. So what configuration/changes are required to achieve this ?

What should be the settings for up-time alert also ?

Re: Nagios Email alerts problem

Posted: Thu Jul 30, 2015 9:00 am
by lmiltchev
You can easily schedule a downtime for all services on the same host - it is just one extra click. Under "Host Status Detail" ("Advanced" tab), click on "Schedule downtime" to schedule downtime for the host, and click on "Schedule downtime for all services on this host" to schedule a downtime for the services.
example01.PNG
If you had your hosts in a hostgroup, you could schedule a downtime for all hosts and services in the hostgroup by going to Home->Hostgroup Summary->View Hostgroup Commands.
example03.PNG
What should be the settings for up-time alert also ?
Can you elaborate on this? Are you talking about modifying the Notification Preferences?

Each user can modify his/her Notification Preferences and select/deselect any "notification type" option. I the example below, I selected all of the notification types.
example02.PNG
If I don't want to receive "Host Downtime" or "Service Downtime" emails, I would clear these check-boxes and click on "Update Settings".

Re: Nagios Email alerts problem

Posted: Fri Jul 31, 2015 1:10 pm
by itbilling
Yes I am talking about email notification changing. We do not want notification for Service down alert. We accept that
when host is down it is assume that services are down too. So what configuration/changes are required to achieve this ?

Re: Nagios Email alerts problem

Posted: Fri Jul 31, 2015 1:51 pm
by lmiltchev
We accept that
when host is down it is assume that services are down too. So what configuration/changes are required to achieve this ?
Usually, you shouldn't receive service notifications when host is down but this depends on how you have configured the check_interval, max_check_attempts and retry_interval for the host/services. Read the Box293's explanation here:

https://support.nagios.com/forum/viewto ... 10#p103689

If you are scheduling a downtime for a host, schedule all of the services on this host for downtime as well. This way, you won't get notified for sure.

Re: Nagios Email alerts problem

Posted: Sun Aug 02, 2015 12:07 am
by itbilling
We are running Nagios XI 2014R2.7 version and when I checked Emails Notifications options it is not supported by the version we are using.Screen shot attached. So what changes are required to Stop only the Service Downtime alerts. Also we had a recurring Downtime Schedule for all of our servers. Recently I seen that there are same downtime scheduled for all servers multiple times. How to fix that issue as well ? I can manually remove the unwanted downtimes but is there a fix for this as well. Screenshot attached.

Re: Nagios Email alerts problem

Posted: Sun Aug 02, 2015 11:33 pm
by Box293
I believe you have an open support ticket with this problem, please refer to the response that was sent to your ticket.