Notification interval question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Notification interval question

Post by jenstar13 »

Hi,
I have a check that runs only every 6 hours
but if it finds a problem I want to have an email sent every 30 minutes
I thought I did it correctly, but when i run a configtest, I get a warning
"has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval."

is there a reason nagios does not like this?

max_check_attempts 5
check_interval 360
retry_interval 1
notification_interval 30
notification_period xi_timeperiod_24x7
notification_options w,c,u,
notifications_enabled 1

thank you in advance
Jen
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification interval question

Post by scottwilkerson »

Nagios can only send notifications after it performs a check.

If you only perform the check every 6 hours, it will not send notification more frequently than that because it will not know if the check is still in the non-OK state.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Re: Notification interval question

Post by jenstar13 »

ok, thank you, you can close this
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification interval question

Post by scottwilkerson »

jenstar13 wrote:ok, thank you, you can close this
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked