diff --git a/sample-config/naemon.cfg.in b/sample-config/naemon.cfg.in index ecd5795c5..a877dc516 100644 --- a/sample-config/naemon.cfg.in +++ b/sample-config/naemon.cfg.in @@ -1046,6 +1046,30 @@ allow_empty_hostgroup_assignment=0 #host_down_disable_service_checks=0 +# SET SERVICE/HOST STATUS WHEN SERVICE CHECK SKIPPED +# These options will allow you to set the status of a service when its +# service check is skipped due to one of three reasons: +# 1) failed dependency check; 2) parent's status; 3) host not up +# Number 3 can only happen if 'host_down_disable_service_checks' above +# is set to 1. +# Valid values for the service* options are: +# -1 Do not change the service status (default) +# 0 Set the service status to STATE_OK +# 1 Set the service status to STATE_WARNING +# 2 Set the service status to STATE_CRITICAL +# 3 Set the service status to STATE_UNKNOWN +#service_skip_check_dependency_status=-1 +#service_skip_check_parent_status=-1 +#service_skip_check_host_down_status=-1 + +# The host_dependency_skip_check_status option will allow you to set the +# status of a host when its check is skipped due to a failed dependency check. +# Valid values for the host_dependency_skip_check_status are: +# -1 Do not change the service status (default) +# 0 Set the host status to STATE_UP +# 1 Set the host status to STATE_DOWN +# 2 Set the host status to STATE_UNREACHABLE +#host_skip_check_dependency_status=-1 # CIRCULAR DEPENDENCIES (EXPERIMENTAL) # Allow for circular dependencies in naemon's host graph.