Skip to content
Snippets Groups Projects
Commit 6827e63a authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch '5127-detect-5xx-server-error' into 'master'

5127 detect 5xx server error

See merge request !9
parents 9523c0f0 bee00b1e
No related branches found
No related tags found
1 merge request!95127 detect 5xx server error
......@@ -403,9 +403,9 @@ function processCheck(){
# _testHttpOk ${_response} >/dev/null
http.isOk >/dev/null
if [ $? -eq 0 ]; then
_log "${_logPrefix} OK, response was sent to Icinga"
_elog "${_logPrefix} rc=$rc - OK, response was sent to Icinga"
else
_log "${_logPrefix} WARNING: the check response was NOT sent to Icinga"
_elog "${_logPrefix} rc=$rc - WARNING: the check response was NOT sent to Icinga"
_rc=$_rc+1
_echo
_echo For Debugging:
......@@ -540,7 +540,7 @@ ________________________________________________________________________________
"
_log "Starting $_product $_version"
_elog "Starting $_product $_version"
if [ "$1" = "--cfg" ] && [ -n "$2" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment