blse2-public/common-debian/files/usr/lib/check_mk_agent/plugins/backup

12 lines
222 B
Bash
Executable File

#!/bin/bash
# Backup check for Check_MK
# Installed by BLSE 2.x ansible
SHARELIST=( $( cat /var/backups/shares ) )
echo "<<<backup>>>"
for SHARE in ${SHARELIST[@]}; do
echo "${SHARE} $( cat ${SHARE}/.backup )"
done