I am using Nagios to monitor my systems. Never had alerts turned on to email me. Now that I do, I'm getting flooded with continuous emails. Reality is this is a personal network, I'm the only one managing it, and don't need to be alerted more than 1 or 2 times to make me aware. I'm getting inundated with messages all day. So take an example. Printer is critical because the monitor setup to check the magenta ink is at 10%. That's fine. I'll order some ink. Nagios, you can tell me about this a couple times, but don't keep telling me. Or I already bought the ink but ain't gonna replace it until it's empty. How do I better manage the email alert frequencies?
Thanks.
JR
Limit Notices and/or frequency
Re: Limit Notices and/or frequency
You could set your notification_interval to 0
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html wrote:This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still down or unreachable. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this host - only one problem notification will be sent out.
Former Nagios Employee.
me.
me.
Re: Limit Notices and/or frequency
That should work. What is the alternative? Disable active checks until you fix the problem?
Re: Limit Notices and/or frequency
I'm not entirely sure there's an alternative to this. You could set the notification interval higher, so it doesn't alert as often. You could schedule downtime if you know it's going to have an issue as well.
Former Nagios Employee.
me.
me.
Re: Limit Notices and/or frequency
in your example with the printer is there a reason why you don't just acknowledge the alert?
if you acknowledge it will not alert you again until the state changes again
if you acknowledge it will not alert you again until the state changes again
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
Re: Limit Notices and/or frequency
Thanks nozlaf. That's brilliant. I'm not doing that as I didn't notice it. 
Let me give it a try.
Thanks.
JR
Let me give it a try.
Thanks.
JR
Re: Limit Notices and/or frequency
Or you could use Reactor to send a series of commands to your Raspberry Pi to activate your ink changing robot through its GPIO ports, but only if the ink level is <1%, and have Nagios replace the ink cartridge for you. Of course, that implies a robot....

Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Limit Notices and/or frequency
@eloyd are you from the future?!
@jriker1 - let us know if you have any further questions.
@jriker1 - let us know if you have any further questions.
Former Nagios Employee