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.
define service {
host_name TGCS-VCSA65
service_description vCenter Version
check_command box293_check_vmware!$HOSTADDRESS$!vCenter_Name_Version!!!!!!
initial_state u
max_check_attempts 3
check_interval 1440
retry_interval 7
active_checks_enabled 1
check_period 24x7
register 1
}
When I run this
/usr/local/nagios/bin/nagios -vv /usr/local/nagios/etc/nagios.cfg
I get this warning
Checking objects...
Warning: Service 'vCenter Version' on host 'TGCS-VCSA65' 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.
Hello, @kwhogster. I think this service inherits the notification interval from the host check --> TGCS-VCSA65. The standard notification interval is 60 minutes.
It doesn't make sense to have a notification interval smaller than the check interval, because you will be getting notification emails with repeated results. If your notification interval is 60 minutes you will receive 24 emails in the next 24 hours (with the same result), because Nagios will not actually update the check result until 1440 minutes pass. So your service can recover from critical to OK(working) state after 2 hours but you will still receive 24 emails telling you that the service is critical.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
@npolovenko, With these settings, you will be checking the service once a day. Does it matter to you how often you will get notified if this check gets critical? If the answer is no, you can ignore the warning message.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
@kwhogster, If you set the check interval to 1440, Nagios will execute this service once a day.
This message didn't say anything about Nagios overriding the check_interval. It said that notification interval(how often Nagios will send emails if there is a problem) is going to be 1440 as well. That's all it says.
Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.