Host-based service check period

Marc Powell marc at ena.com
Wed Oct 15 18:49:03 CEST 2008


On Oct 15, 2008, at 10:20 AM, Francis Dube wrote:

> check period. I would like to create a timeperiod for each host and  
> that
> all the check for this host (service and host-alive) stop/start
> according to that timeperiod. Anybody knows a way to do this ?

Host and services have historically been separate entities for the  
most part with no inheritance between them at all. With nagios-3,  
there is some inheritance happening now between a service and it's  
host but only for three variables (contact_groups,  
notification_interval and notification_period: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html#implied_inheritance) 
. check_period isn't an inheritable property and the most direct way  
to a solution is to simply specify the same check_period name for the  
services that you are using for the host.

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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