Skip to content

Commit

Permalink
add host/service_skip_check_*_status example configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Feb 17, 2020
1 parent 3537281 commit 156a619
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions sample-config/naemon.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 156a619

Please sign in to comment.