evobackup/server/misc/munin-plugin/bkctld_incs
Ludovic Poujol cff9d7382f
All checks were successful
continuous-integration/drone/push Build is passing
gitea/evobackup/pipeline/head This commit looks good
WIP > Working on some possible munin plugins
2022-08-19 12:23:53 +02:00

26 lines
405 B
Bash

#!/bin/bash
#
#
case $1 in
config)
cat <<'UNLIKELY_EOF'
graph_title bkctld incs
graph_vlabel Number of incs
graph_args --lower-limit 0
graph_scale no
graph_category bkctld
graph_info The total number of available incs on the server
incs.info Number of backup incs available
incs.label incs available
UNLIKELY_EOF
exit 0;;
esac
printf "incs.value "
ls -ld /backup/incs/*/* | wc -l