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

fix perfdata dirs-del=

parent 81d320e7
No related branches found
No related tags found
1 merge request!115fix perfdata dirs-del=
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
# 2022-10-07 ah v1.3 unescape regex with space to prevent "grep: warning: stray \ before white space" # 2022-10-07 ah v1.3 unescape regex with space to prevent "grep: warning: stray \ before white space"
# 2022-10-20 ah v1.4 show last backup, prune and verify # 2022-10-20 ah v1.4 show last backup, prune and verify
# 2023-09-01 ah v1.5 add counters for new/ changed/ deleted fileobjects (Restic only) # 2023-09-01 ah v1.5 add counters for new/ changed/ deleted fileobjects (Restic only)
# 2023-09-04 ah v1.6 fix perfdata dirs-del=
# ============================================================================== # ==============================================================================
. $(dirname $0)/jobhelper.sh . $(dirname $0)/jobhelper.sh
...@@ -163,7 +164,7 @@ else ...@@ -163,7 +164,7 @@ else
printf "__COUNTERS__New: %10s files %10s dirs\n" $iModFNew $iModDNew printf "__COUNTERS__New: %10s files %10s dirs\n" $iModFNew $iModDNew
printf "__COUNTERS__Changed: %10s files %10s dirs\n" $iModFChange $iModDChange printf "__COUNTERS__Changed: %10s files %10s dirs\n" $iModFChange $iModDChange
printf "__COUNTERS__Deleted: %10s files %10s dirs\n" $iModFDelete $iModDDelete printf "__COUNTERS__Deleted: %10s files %10s dirs\n" $iModFDelete $iModDDelete
echo "__PERFDATA__ |files-new=$iModFNew;;;0 files-mod=$iModFChange;;;0 files-del=$iModFDelete dirs-new=$iModDNew;;;0 dirs-mod=$iModDChange;;;0 dirs-del=$iModDDelete" echo "__PERFDATA__ |files-new=$iModFNew;;;0 files-mod=$iModFChange;;;0 files-del=$iModFDelete dirs-new=$iModDNew;;;0 dirs-mod=$iModDChange;;;0 dirs-del=$iModDDelete;;;0"
echo echo
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment