NAGIOS CORE - EMAILS ALERTS

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
juanfmg
Posts: 8
Joined: Tue Apr 19, 2016 2:56 am

NAGIOS CORE - EMAILS ALERTS

Post by juanfmg »

Dear team,

When a host is down, i can get the email alert perfectly.
What i need is that nagios send only one mail and not much of them.

I have set the time interval but i´m not looking for this. I just want only one email when a host goes down

thanks thanks
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NAGIOS CORE - EMAILS ALERTS

Post by dwhitfield »

This can be accomplished by setting the notification_interval directive in either the host or service definitions to 0. Doing this tells Nagios not to resend notifications for the same event. This option is also present in host and service escalation definitions.
juanfmg
Posts: 8
Joined: Tue Apr 19, 2016 2:56 am

Re: NAGIOS CORE - EMAILS ALERTS

Post by juanfmg »

Thanks dwhitfield.

i going to try setting this.

do you know if after set this, and i restart nagios services, nagios will send me the alert again because he thinks that it should send the alert?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NAGIOS CORE - EMAILS ALERTS

Post by rkennedy »

No, Nagios will not send the alert again.
Former Nagios Employee
Locked