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
Notification interval question
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Notification interval question
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.
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
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
Great!jenstar13 wrote:ok, thank you, you can close this
Locking