Fix for unknown state
This commit is contained in:
parent
39906cee49
commit
fec2f92040
@ -127,10 +127,14 @@ case "${_ES_STATUS}" in
|
||||
_MSG="state of ES instance at ${_ES_URL} is OK [${_ES_STATUS}]"
|
||||
_STC=0
|
||||
;;
|
||||
*)
|
||||
yellow|red)
|
||||
_MSG="state of ES instance at ${_ES_URL} is NOK [${_ES_STATUS}]"
|
||||
_STC=1
|
||||
;;
|
||||
*)
|
||||
_MSG="state of ES instance at ${_ES_URL} is NOK [unknown]"
|
||||
_STC=1
|
||||
;;
|
||||
esac
|
||||
if (( _LOG_HEALTHY > 0 || _STC > 0 ))
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user