<div dir="ltr">Hi there,<br><br>I don't know if this solution would be the best solution to this problem, but I've patched config.c to correct a problem in verification of notification_interval versus check_interval, which when configuring "interval_length=1", the check of notification_interval versus check_interval issues wrong warning at nagios.log.<br>
<br>Here is the patch:<br><br>$ nagios/base> diff -Nur config.c my_config.c<br>--- config.c 2008-09-11 19:53:08.000000000 +0000<br>+++ my_config.c 2008-09-11 19:53:42.000000000 +0000<br>@@ -1875,7 +1875,7 @@ <br> }<br>
<br> /* see if the notification interval is less than the check interval */<br>- if(temp_service->notification_interval<temp_service->check_interval && temp_service->notification_interval!=0){<br>
+ if(temp_service->notification_interval<temp_service->check_interval*(interval_length/60) && temp_service->notification_interval!=0){<br> logit(NSLOG_VERIFICATION_WARNING,TRUE,"Warning: Service '%s' on host '%s' 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.",temp_service->description,temp_service->host_name);<br>
warnings++;<br> }<br>$ nagios/base><br><br>Please evaluate the workaround, I've successfully applied the patch and got rid of annoying warning messages at nagios.log<br>
<br>HTH,<br>Marcel<br></div>