Notification period inheritance problem

Gordon Messmer yinyang at eburg.com
Mon Dec 21 09:17:28 CET 2009


On 12/16/2009 04:43 AM, Martin Melin wrote:
> On Wed, Dec 16, 2009 at 11:05 AM, Gordon Messmer<yinyang at eburg.com>  wrote:
>    
>>
>> I'm sure that when you tell me what the "null" notification period does,
>> I'll understand how.  For now, I don't, because it doesn't seem to be
>> documented.
>>      
> null is a value for a notification period that does not have any
> effect. Most config's I've seen have a timeperiod named "none",
> configured to never match. This accomplishes the same thing.

I appreciate the time you've taken to answer my questions, but you're 
wrong.  The services which I've configured which have a "null" 
notification period will send notices regardless of the time, not never 
as you've suggested.

> Using
> null does not do anything special as far as inheritance is concerned -
>    

Yes, I noticed that.  That is why I brought the issue up to begin with.  
My question is: why not?  The documentation states that services will 
inherit the hosts' notification time if the service definition has no 
time specified.  It also suggests that "null" is a special value that 
prevents inheritance.  It isn't documented to do anything other than 
prevent inheritance.  Why shouldn't that create an unspecified value?

I'm no longer asking anyone to explain the behavior.  The code was 
already pointed out, so I understand what /is/ happening.  My question 
is (and always was) whether or not the behavior should be considered a 
bug.  I'm convinced that it should.


------------------------------------------------------------------------------
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