Nagios notification

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
ismail
Posts: 1
Joined: Tue Jun 27, 2017 3:38 am

Nagios notification

Post by ismail »

Hello

I have a big problem in Nagios email notification , I recive notification every 1 minute fore down services or host
I need to : recive notification : one alert when host or service is down
second alert when host or service is up


*******Ineed just 2 notification**********
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios notification

Post by mcapra »

From this page:
https://assets.nagios.com/downloads/nag ... tions.html
notification_interval:
This directive is used to define the number of "time units" to wait before re-notifying a contact that this host 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
https://www.mcapra.com/
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios notification

Post by tgriep »

Thanks @mcapra for the help.
Yes, setting the interval_length to 0 will only send one notification when a service or host changes state and not repeat the notifications.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked