diff --git a/icinga-cli.sh b/icinga-cli.sh index bcc1b6177aca53f60bef88d64b829c3eba499e80..60ef01f4681d41f7c16015d3a55dc1c55369f398 100755 --- a/icinga-cli.sh +++ b/icinga-cli.sh @@ -25,11 +25,12 @@ # 2023-11-02 v0.18 ah fix quoting of perfdata in json # 2023-11-02 v0.19 ah move _parseConfig # 2024-11-20 v0.20 ah update rest api client; use cert "${dir_cfg}/certs/ca.crt" +# 2024-12-17 v0.21 ah less log lines for skipped jobs # ====================================================================== _product="ICINGA PASSIVE CLIENT" -_version="0.20" +_version="0.21" _license="GNU GPL 3.0" _copyright='(c) Institute for Medical Education * University of Bern' @@ -298,7 +299,7 @@ function processCheck(){ iCheckStart=$(_getUnixTs) local _logPrefix="${checkName} |" - _log "${_logPrefix} INFO: every ${checkInterval} sec: ${checkCommand}" + # _log "${_logPrefix} INFO: every ${checkInterval} sec: ${checkCommand}" _initHttp @@ -422,7 +423,8 @@ function processCheck(){ fi else - _log "${_logPrefix} SKIP execution." + # _log "${_logPrefix} SKIP execution." + return 0 fi # add current result to global returncode