Re: [Nagios-users] Override service notification time

2011-08-09 Thread David Wilkinson
On 08/08/11 18:18, Chris Beattie wrote:

 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.


Ah yes, that was the problem, I had the timeperiod set in the service 
template, I removed it from the template and it was inherited it from host.

Thanks



--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Override service notification time

2011-08-08 Thread Yueh-Hung Liu
maybe you can check this:
http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule-2DBased-Notifier/details

and see if it's what you need.

On Mon, Aug 8, 2011 at 10:04 PM, David Wilkinson
nagios-us...@noroutetohost.net wrote:
 Hi

 I am currently using Nagios with host groups to so that I can add the same
 service check to multiple hosts without having to create the same service
 multiple times, which is all working fine, the problem is that I don't want
 non mission critical hosts alerting staff to a service problem in the middle
 of the night when the problem can wait till the morning.

 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?


 Thanks

 David

 --
 BlackBerryreg; 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@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


--
BlackBerryreg; 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@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


Re: [Nagios-users] Override service notification time

2011-08-08 Thread Chris Beattie
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.


--
BlackBerryreg; 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@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