[Nagios-devel] Notification period inheritance problem
Posted: Mon Dec 21, 2009 8:11 pm
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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]