From 1df2a0cef8d207af6b70880f7d3d5449d5b72e66 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Mon, 18 Oct 2021 11:56:38 +0200 Subject: [PATCH] fix missing performance data --- icinga-cli.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icinga-cli.sh b/icinga-cli.sh index 5fe128b..5748e41 100755 --- a/icinga-cli.sh +++ b/icinga-cli.sh @@ -14,7 +14,7 @@ _product="ICINGA PASSIVE CLIENT" -_version="0.4" +_version="0.5" _license="GNU GPL 3.0" _copyright='(c) 2020 Institute for Medical Education * University of Bern' @@ -320,6 +320,7 @@ function processCheck(){ fi typeset -i local iTsEnd=`date +%s` # outPerfdata=`grep '|' $_outfile | cut -f 2 -d '|'` + outPerfdata=`grep '|' $_outfile | rev | cut -f 1 -d '|' | rev` echo echo -------- check output: cat $_outfile -- GitLab