Notification in core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Notification in core

Post by lafargeuser »

Do we have option to configure mail only at first time of the issue and one email once it is resolved ?
How do I configure that ? Can I supress the reoccurrence of email ?

Now, I have configured Alerts in such way that if there is any problem detected Nagios will send an alert immediately, after every 60 Minutes Nagios will send an alert untill problem gets resolve.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Notification in core

Post by eloyd »

Everything you need is in the Nagios notifications documentation and escalations documentation.

Basically, you want to only alert once when it goes critical, and then only alert once when it goes back to ok. You can do it many ways, but the most straightforward is to check your alert notifications as per the notifications document. Alert when it goes critical, only alert once, and alert for recovery.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Stuart Watts
Posts: 40
Joined: Wed Sep 25, 2013 7:01 am

Re: Notification in core

Post by Stuart Watts »

lafargeuser wrote:Can I supress the reoccurrence of email ?
Set "notification_interval" to "0" for the checks you want to suppress repeat alerts for. But hopefully you found this yourself.. ;)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification in core

Post by scottwilkerson »

Thanks @Stuart Watts & @eloyd
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked