Page 1 of 1

Nagios Notification Interval

Posted: Mon Oct 28, 2019 9:38 am
by Eireocean
Good Day,

I am looking to find out if it possible to setup a service so that only when the service has been in a particular for a certain period of time, only then it will send a notification ?

ie. CPU=100% for 60min

Currently we have it that if a service has been in a particular state for the last 3 checks, then it will notify.

Regards

Re: Nagios Notification Interval

Posted: Mon Oct 28, 2019 10:07 am
by scottwilkerson
there is a setting you can use first_notification_delay that is the number of minutes after the first non-OK Nagios will wait before sending the first notification.
This directive is used to define the number of "time units" to wait before sending out the first problem notification when this host enters a non-UP state. 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 start sending out notifications immediately. If this directive is used notifications will be sent out after the next check is performed following the first_notification_delay time. If you set this value to 0, Nagios will start sending out notifications immediately.
https://assets.nagios.com/downloads/nag ... tions.html

Re: Nagios Notification Interval

Posted: Tue Oct 29, 2019 1:47 am
by Eireocean
Morning,

Thanks ...

Regards

Re: Nagios Notification Interval

Posted: Tue Oct 29, 2019 2:55 pm
by benjaminsmith
Hello @Eireocean,

Are we good to lock this one up? Let us know when you have a moment.