Notification period inheritance problem

Gordon Messmer yinyang at eburg.com
Mon Dec 21 21:10:24 CET 2009


Last week I raised an issue on the nagios-user list which I believe is a 
minor bug in nagios.  The documentation appears to indicate that using 
"null" should prevent the inheritance of values from templates, and that 
an unspecified value for notification_period in a service definition 
will cause notifications to be send only during the associated host's 
notification_period.  What actually happens is slightly different from 
what the documentation appears to suggest.  The code will prevent 
inheritance of the template's value, but will still set 
have_notification_period=TRUE.  This prevents inheritance.  Since the 
notification_period attribute isn't actually set, I believe that setting 
have_notification_period=TRUE is a bug.

Is there a reason for this behavior that I'm missing?  If not, could it 
be changed to more closely match the documentation?


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




More information about the Developers mailing list