Notification period inheritance problem

Marc Powell marc at ena.com
Tue Dec 15 19:49:09 CET 2009


On Dec 15, 2009, at 11:33 AM, Gordon Messmer wrote:

> On 12/15/2009 12:52 AM, Martin Melin wrote:
>> Have you tried leaving out the notification_period line from the
>> service definition? I think, but don't have time to verify, that by
>> saying "notification_period null" you are actually overriding all
>> inherited values for notification_period and setting it to null
>> instead.
>> 
> 
> That's kind of the point.  I want the service to inherit its 
> notification period from the hosts it checks.  In order to do that, its 
> own notification period has to be null.

No, in order to do that, the notification_period needs to be unspecified. null != unspecified. Because you're explicitly setting it to null, you break the implied inheritance.

To take advantage of the implied inheritance, you need to leave out the directive entirely as indicated above.

--
Marc


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list