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...
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).
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