Icinga Monitoring Plugin to check Bareos Backup Director databases
Origin Git Repository: https://github.com/widhalmt/check_bareos This is a fork repository to make it to a synchronized project with this exchange Icinga/Nagios. This project was mainly aimed to fixing some bugs to use it inside the German Aerospace Center (DLR) for a Bareos installation.
If you want to add features contribute in the git project or sent an email to the author or the git repository owner.
https://github.com/widhalmt/check_bareos
Note: use the postgresql database bareos and login without password
Check if a full backup has 0 Bytes(is Empty) and trigger warning it is at least 1 and trigger ciritcal if more than 5 are empty
check_bareos.py -u bareos -d p status -e -f -w 1 -c 5
Check if a diff/inc backup is larger than 2 TB (default value) and trigger warning it is at least 1 and trigger ciritcal if more than 5 are empty
check_bareos.py -u bareos -d p status -o -d -i -w 1 -c 5
check_bareos.py -u bareos -d p tape -e -w 15 -c 10
check_bareos.py -u bareos -d p status -b -w 400 -c 500
check_bareos.py -u bareos -d p status -b -f -w 400 -c 500
check_bareos.py -u bareos -d p status -b -d -w 400 -c 500
check_bareos.py -u bareos -d p status -b -i -w 400 -c 500
check_bareos.py -u bareos -d p job -rt -t 4 -st R -w 1 -c 4
check_bareos.py -u bareos -d p job -js -w 50 -c 100
check_bareos.py -u bareos -d p tape -ex
check_bareos.py -u bareos -d p tape -wex -t 14 -w 10 -c 5