Skip to content
Snippets Groups Projects

icinga client: less log lines for skipped jobs

Merged Hahn Axel (hahn) requested to merge update-loop into master
1 file
+ 5
3
Compare changes
  • Side-by-side
  • Inline
+ 5
3
@@ -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
Loading