Fix in check_linux_httpd_status plugin
This commit is contained in:
parent
f2b4970977
commit
6184a1a061
@ -106,6 +106,16 @@ then
|
||||
_HTTPD_BIN="${_CFG_HTTPD_BIN}"
|
||||
log "setting httpd path to {${_HTTPD_BIN}} (config override)"
|
||||
fi
|
||||
_CFG_HEALTHY=$(_CONFIG_FILE="${_CONFIG_FILE}" data_get_lvalue_from_config 'log_healthy')
|
||||
case "${_CFG_HEALTHY}" in
|
||||
yes|YES|Yes)
|
||||
_LOG_HEALTHY=1
|
||||
;;
|
||||
*)
|
||||
# do not override hc_arg
|
||||
(( _LOG_HEALTHY > 0 )) || _LOG_HEALTHY=0
|
||||
;;
|
||||
esac
|
||||
|
||||
# log_healthy
|
||||
(( ARG_LOG_HEALTHY > 0 )) && _LOG_HEALTHY=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user