diff --git a/icinga-cli.sh b/icinga-cli.sh index 35b4b52535d68b3971c6e8225310e0eb5ad75e80..b9bfff7ee304e1789e0dbde7432d23a2659a3098 100755 --- a/icinga-cli.sh +++ b/icinga-cli.sh @@ -403,7 +403,7 @@ function processCheck(){ # _testHttpOk ${_response} >/dev/null http.isOk >/dev/null 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 _elog "${_logPrefix} rc=$rc - WARNING: the check response was NOT sent to Icinga" _rc=$_rc+1