Set notification periods for services from hostentry?

Chris Beattie cbeattie at geninfo.com
Thu Dec 9 15:21:03 CET 2010


On Wed, 2010-12-08 at 15:41 -0500, chris burgess wrote:
> Is there a way to override the service notification period by setting
> it in the hosts entries? (this is what I expected to do, but it seems
> the service takes precedence)

You're on the right track, but facing backwards.  If you set a
timeperiod in your service object definition, it will override the
timeperiod set for that service's host object.  If you do *not* set the
timeperiod on a service, it will inherit it from its host object.

Check out the section on Implied Inheritance here:

http://nagios.sourceforge.net/docs/3_0/objectinheritance.html


Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately.
 

Thank you.


------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
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