Override service notification time

Chris Beattie cbeattie at geninfo.com
Mon Aug 8 19:18:22 CEST 2011


David Wilkinson wrote:

> Will I have to duplicate service config so I can change the notification 
> period or can I have it set on a per host basis and have that override 
> what is set in the service template?

You can set it on a per-host basis.  If you do not define a notification 
timeperiod in a service's template or definition, the service will 
inherit its notification timeperiod from its associated host.

Check out the section on "implied inheritance" here:
http://nagios.sourceforge.net/docs/nagioscore/3/en/objectinheritance.html

I have separate host templates for my development and production servers 
which have different notification timeperiods, and one set of service 
definitions associated with both types of hosts.

-- 
-Chris

------


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.


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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