Bacula

check_bacula.py

Description:

This check script/plugin checks all backup jobs in a given timeframe (default: 2 days) and report an error or warning if one of the jobs failed, according to the bacula statuses.

Unlike other bacula check scripts it can check all jobs at once, eliminating the risk to manually confugure new/added backup jobs in icinga.

It is used as follows:
“`bash
Usage: check_bacula [-H ] [-U ] [-P ] [-D ] [–warning-severity ] [–critical-severity ] [–days ] [–help] [-d] [–list-status]

Options:
-h, –help = Show this help
-H = Database hostname (default: localhost)
-U = Database username (default: read-only)
-P = Database password (default: read-only)
-D = Database name (default: bacula)
–warning-severity = From this number reports WARNING (default: 15)
–critical-severity = From this number reports CRITICAL (default: 25)
–days = Number of days to look back for jobs (default: 2)
-d = Show debug information
–list-status = List the available bacula statuses
“`

Or added in icinga like this:
“`
define service {
use backup-service
host_name backupserver
service_description Bacula-backup
check_command check_bacula!-U $USER28$ -P $USER29$ -D bacula –warning-severity=15 –critical-severity=25 –days=2
}
“`

Current Version

1.0

Last Release Date

2017-04-03

Compatible With

  • Nagios 2.x
  • Nagios 3.x

Owner

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
6,749