This bash-script checks that backups are not too old, that the last backup had no errors, that all shares and subshares exist in the data root directory, etc.
This plugin and the "check_backuppc" check sligtly different things, and in different was. You can use both...
Tested on:
BackupPC 3.2.1 / Ubuntu 12.04
Should work in most similar systems i think. Let me know otherwise (create a ticket!).
Installation is easy:
Just put the check-script inyour nagios server, and the other (included) script somewhere so that the check-script can find it (e.g. in the $PATH, or edit the check script for a custom location).
License
Public DomainFollow check_backuppc_shares
Other Useful Business Software
Shoplogix Smart Factory Platform
Real-time Visibility into Your Shop Floor's Performance. The Shoplogix smart factory platform enables manufacturers to increase overall equipment effectiveness, reduce operational costs, sustain growth and improve profitability by allowing them to visualize, integrate and act on production and machine performance in real-time. Manufacturers that trust us to drive efficiency in their factories. Real-time visual data and analytics provide valuable insights to make better informed decisions. Uncover hidden shop floor potential and drive rapid time to value. Develop a continuously improving culture through training, education and data-driven decisions. Compete in the i4.0 world by making the Shoplogix Smart Factory Platform the cornerstone of your digital transformation. Connect to any equipment or device to automate data collection and exchange it with other manufacturing technologies. Automatically monitor, report and analyze machine states to track real-time production.
Rate This Project
Login To Rate This Project
User Reviews
-
Great script! However there is a bug in the script. Causing errstr to contain doubles: I fixed this by removing errstr variable in every run of function seterror function, because it also get set in the seterror function For example: seterror $EXIT_ON_HOST_BACKUP_ERRORS "$errstr [$host] $last_errors_sum errors in last backup (id=$last_id)" Should be seterror $EXIT_ON_HOST_BACKUP_ERRORS " [$host] $last_errors_sum errors in last backup (id=$last_id)" And this for every run of the function seterror. Do you have a github of this somewhere? Thanks