Page 1 of 1

nagios alert flooding email server

Posted: Wed Oct 19, 2011 8:04 am
by vgunasek
Hi Team,

We have close to 100 host and N number of services are enabled on each host. Every second we are getting multiple alerts from the nagios. Due to this our mail server is get delaied to delevry the other mails. Please give me the better method to avoid throttling email alerts.

we are in serious problem on this.. please help me.

Regards,
Guna

Re: nagios alert flooding email server

Posted: Wed Oct 19, 2011 5:45 pm
by jsmurphy
First of all ensure you are making use of the 'parent' directive for hosts that way if you lose a network segment you will only ever get an alert from the top level host. More on that can be found here: http://nagios.sourceforge.net/docs/3_0/ ... ility.html (for XI there is a little box labelled parents in the host config menu).

Second of all ensure that your hosts and services have a reasonable value set for the 'notification_interval' and 'max_check_attempts' directives.

Third make sure you are only getting notifications for the level of alerting you need with 'notification_options' for hosts and services, same deal with the 'host_notification_options' and 'service_notification_options' for contact definitions.

If you are getting flooded with emails with only 100 hosts then at least some of these options are going to be configured way off base.