<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 24 May 2010, at 17:40, Gordon Messmer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>The documentation for object inheritance[1] indicates that where a notification_period is not available for a service, the notification_period from the associated host will be implicitly inherited.<br><br>In my nagios configuration, I have a number of services which are applied to hostgroups.  Rather than inheriting any notification period, each service has a "NULL" notification period which is treated as a '24x7' period.  With the attached patch, nagios will check for a NULL period and use the period from the associated host as the documentation states will happen.<br><br>I have no idea whether or not similar issues exist with the other implied inheritance values.<br></div></blockquote><div><br></div>Hi Gordon,<br><br>Thanks for the patch. Could you include a change to the test configurations in t/etc which demonstrates the problem.<br><br>When you've made a change to the configurations with the inheritance problem, you should be able to run t/900-configparsing.t and get a failure, but with your code patch, it should then work as expected.<br><br>More details: <a href="http://wiki.nagios.org/index.php/Nagios_Core_Developer_Guidelines#Testing">http://wiki.nagios.org/index.php/Nagios_Core_Developer_Guidelines#Testing</a><br><br>Re-post with your test changes and I'll apply to the stable branch.<br><br>Ton</div><div><br></div></body></html>