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

less log lines for skipped jobs

parent 3507e3a6
No related branches found
No related tags found
1 merge request!46icinga client: less log lines for skipped jobs
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment