Nagios Notification Interval

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
Eireocean
Posts: 22
Joined: Tue Oct 11, 2016 2:23 am

Nagios Notification Interval

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Notification Interval

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Eireocean
Posts: 22
Joined: Tue Oct 11, 2016 2:23 am

Re: Nagios Notification Interval

Post by Eireocean »

Morning,

Thanks ...

Regards
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Notification Interval

Post by benjaminsmith »

Hello @Eireocean,

Are we good to lock this one up? Let us know when you have a moment.
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!
Locked