Skip to content

theGidy/check_bareos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check_bareos

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.

OpenSource Release under

https://github.com/widhalmt/check_bareos

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

About

Icinga Plugin to check Bareos Backup Director databases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%