Page 1 of 1

Notification interval question

Posted: Wed Jul 17, 2019 6:13 am
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

Re: Notification interval question

Posted: Wed Jul 17, 2019 8:08 am
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.

Re: Notification interval question

Posted: Thu Jul 18, 2019 6:03 am
by jenstar13
ok, thank you, you can close this

Re: Notification interval question

Posted: Thu Jul 18, 2019 6:22 am
by scottwilkerson
jenstar13 wrote:ok, thank you, you can close this
Great!

Locking