Hello Nagios Community!
I'm trying to optimize the email notification sendings in our nagios server. It sends too much email, by default.
So, I want nagios to send email notification ONLY ONCE and not more, during a service is in hard state. I find nowhere solution for this option.
Thanks in advance.
Email notifications setup issues
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Email notifications setup issues
Hi!
Yeah, you can set it up to send only once, try changing the "Notification interval" to "0" (zero) for the particular host/service.
Thanks for posting to the Community Forum!
Reference:
https://assets.nagios.com/downloads/nag ... tions.html
Yeah, you can set it up to send only once, try changing the "Notification interval" to "0" (zero) for the particular host/service.
I hope that helps, and let us know if you get working correctly or if you have questions.notification_interval: 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.
Thanks for posting to the Community Forum!
Reference:
https://assets.nagios.com/downloads/nag ... tions.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Email notifications setup issues
Hello benjaminsmith!benjaminsmith wrote:Hi!
Yeah, you can set it up to send only once, try changing the "Notification interval" to "0" (zero) for the particular host/service.I hope that helps, and let us know if you get working correctly or if you have questions.notification_interval: 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.
Thanks for posting to the Community Forum!
Reference:
https://assets.nagios.com/downloads/nag ... tions.html
Thank you for your quick response.
Looks like it solved our problem!
Best regards.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Email notifications setup issues
Great!luoyihui wrote:Hello benjaminsmith!
Thank you for your quick response.
Looks like it solved our problem!
Best regards.
Locking thread