From be2fc82e7ec9b87a254e5332d95f420ad45347d2 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 1 Sep 2023 14:46:34 +0200
Subject: [PATCH] add changecounters and performancedata

---
 check_clientbackup | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/check_clientbackup b/check_clientbackup
index 26da48c..ef33227 100755
--- a/check_clientbackup
+++ b/check_clientbackup
@@ -18,11 +18,12 @@
 #                                            show last backup, prune, verify
 # 2023-06-22  v1.11  <axel.hahn@unibe.ch>    add help and param support; add parameter for install directory
 # 2023-07-27  v1.12  <axel.hahn@unibe.ch>    add docs url of IML backup
+# 2023-09-01  v1.13  <axel.hahn@unibe.ch>    add changecounters and performancedata
 # ======================================================================
 
 . $( dirname $0 )/inc_pluginfunctions
 
-export self_APPVERSION=1.12
+export self_APPVERSION=1.13
 
 sInstalldir=/opt/imlbackup/client/
 
@@ -104,7 +105,11 @@ done
 echo "--- transfer:"
 echo "$result" | grep "__[A-Z][A-Z]*__ "
 echo
+echo "$result" | grep "__COUNTERS__"
+echo
 echo "$result" | grep "__LAST__"
+echo
+echo "$result" | grep "__PERFDATA__" | cut -f 2- -d " "
 
 ph.exit
 
-- 
GitLab