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

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

do not show successful posts in journallog

See merge request !10
parents 6827e63a 20317828
No related branches found
No related tags found
1 merge request!10do not show successful posts in journallog
...@@ -403,7 +403,7 @@ function processCheck(){ ...@@ -403,7 +403,7 @@ function processCheck(){
# _testHttpOk ${_response} >/dev/null # _testHttpOk ${_response} >/dev/null
http.isOk >/dev/null http.isOk >/dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
_elog "${_logPrefix} rc=$rc - OK, response was sent to Icinga" _log "${_logPrefix} rc=$rc - OK, response was sent to Icinga"
else else
_elog "${_logPrefix} rc=$rc - 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 _rc=$_rc+1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment