Skip to content
Icinga Plugin to check Bareos Backup Director databases
Python
Branch: master
Clone or download
widhalmt Merge pull request #11 from theGidy/patch-1
Change URL to widhalmt repo
Latest commit 85f183b Sep 20, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib Plugin CheckCommand for Icinga 2 Aug 31, 2016
.gitignore Initial commit Sep 17, 2015
LICENSE Initial commit Sep 17, 2015
README.md -change layout Nov 9, 2015
check_bareos.py Merge pull request #7 from theGidy/master Feb 1, 2016
icingaexchange.yml Change URL to widhalmt repo Aug 31, 2016

README.md

check_bareos

Icinga Monitoring Plugin to check Bareos Backup Director databases

Main Git Repository: https://github.com/widhalmt/check_bareos At the moment this is a fork repository to make it to a synchronized project with thise site.

This project is mainly aimed at fixing some bugs.

If you want to add features contribute in the git project or sent an email to the author or git repository owner.

Check Examples:

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 how much tapes are empty in the storage

check_bareos.py -u bareos -d p tape -e -w 15 -c 10

Check total size of all backups

check_bareos.py -u bareos -d p status -b -w 400 -c 500

Check total size of all full backups

check_bareos.py -u bareos -d p status -b -f -w 400 -c 500

Check total size of all diff backups

check_bareos.py -u bareos -d p status -b -d -w 400 -c 500

Check total size of all inc backups

check_bareos.py -u bareos -d p status -b -i -w 400 -c 500

Check if a job is runing longar than 7 days (default value)

check_bareos.py -u bareos -d p job -rt -t 4 -st R -w 1 -c 4

Check how much jobs are in the wating status

check_bareos.py -u bareos -d p job -js -w 50 -c 100

Check how much tapes are expired

check_bareos.py -u bareos -d p tape -ex

Check how much tapes will expire in the next 14 days

check_bareos.py -u bareos -d p tape -wex -t 14 -w 10 -c 5

You can’t perform that action at this time.