Limit notifications being sent out
Posted: Thu Nov 30, 2017 9:49 am
Hello,
I am trying to prevent our emails from being blown up with notifications. I know I can set up relationships so that Nagios will only send a host down notification and not all it's services if that is the case. However, I am looking for a way to limit the overall amount of emails being sent to users with notices of warnings, errors, etc. For example, we have a switch that does not have all the ports utilized, and it sees those ports as down.
I have sticky acknowledged them but there are several devices like this, and sometimes after an update or the server is rebooted, it will lose those acknowledgments and we will receive around 100 emails about services down, as the host as a whole is not down.
Is there a way to make it so that Nagios only sends out X notifications for services/hosts down and dumps the rest? We only need to know theres a few hosts/services down to know there is likely a larger issue.
I tried service escalations and sending all notifications after 5 to a dummy user I created but still received about 30 notifications before turning them off. I believe that is because it is not additive, and though I have all the services added to the escalation rule, it still waits until X notifications from EACH service are sent before sending further notifications to the dummy user.
Sorry if this is confusing.
I am trying to prevent our emails from being blown up with notifications. I know I can set up relationships so that Nagios will only send a host down notification and not all it's services if that is the case. However, I am looking for a way to limit the overall amount of emails being sent to users with notices of warnings, errors, etc. For example, we have a switch that does not have all the ports utilized, and it sees those ports as down.
I have sticky acknowledged them but there are several devices like this, and sometimes after an update or the server is rebooted, it will lose those acknowledgments and we will receive around 100 emails about services down, as the host as a whole is not down.
Is there a way to make it so that Nagios only sends out X notifications for services/hosts down and dumps the rest? We only need to know theres a few hosts/services down to know there is likely a larger issue.
I tried service escalations and sending all notifications after 5 to a dummy user I created but still received about 30 notifications before turning them off. I believe that is because it is not additive, and though I have all the services added to the escalation rule, it still waits until X notifications from EACH service are sent before sending further notifications to the dummy user.
Sorry if this is confusing.