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

Merge branch 'update-loop' into 'master'

icinga client: less log lines for skipped jobs

See merge request !46
parents 3507e3a6 2f687668
Branches
No related tags found
1 merge request!46icinga client: less log lines for skipped jobs
...@@ -25,11 +25,12 @@ ...@@ -25,11 +25,12 @@
# 2023-11-02 v0.18 ah fix quoting of perfdata in json # 2023-11-02 v0.18 ah fix quoting of perfdata in json
# 2023-11-02 v0.19 ah move _parseConfig # 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-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" _product="ICINGA PASSIVE CLIENT"
_version="0.20" _version="0.21"
_license="GNU GPL 3.0" _license="GNU GPL 3.0"
_copyright='(c) Institute for Medical Education * University of Bern' _copyright='(c) Institute for Medical Education * University of Bern'
...@@ -298,7 +299,7 @@ function processCheck(){ ...@@ -298,7 +299,7 @@ function processCheck(){
iCheckStart=$(_getUnixTs) iCheckStart=$(_getUnixTs)
local _logPrefix="${checkName} |" local _logPrefix="${checkName} |"
_log "${_logPrefix} INFO: every ${checkInterval} sec: ${checkCommand}" # _log "${_logPrefix} INFO: every ${checkInterval} sec: ${checkCommand}"
_initHttp _initHttp
...@@ -422,7 +423,8 @@ function processCheck(){ ...@@ -422,7 +423,8 @@ function processCheck(){
fi fi
else else
_log "${_logPrefix} SKIP execution." # _log "${_logPrefix} SKIP execution."
return 0
fi fi
# add current result to global returncode # add current result to global returncode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment