From 2031782893ff2269779edb0e5d3588c098ed7a0b Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Mon, 14 Mar 2022 14:17:06 +0100 Subject: [PATCH] do not show successful posts in journallog --- icinga-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icinga-cli.sh b/icinga-cli.sh index 35b4b52..b9bfff7 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 -- GitLab