Re: [Nagios-users] Notification period inheritance problem
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Marc P. <ma...@en...> - 2009-12-15 18:49:25
|
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 |