I'm using Nagios to monitor servers, and we use rsnapshot for backups. I'd like a plugin for Nagios that monitors that rsnapshot is being run successfully. I've seen some rsnapshot plugins that will do a whole diff on a directory tree, which is way too inefficent for me.
Are there any that do some simple checks that the last run went OK (ie looking at log files) or that all the directories are there?
Best Answer
i cannot really answer about rsnapshot but i use rdiff - similar tool.
there is couple of things i monitor with nagios for my backups:
in this way i protect myself against interrupted backups and against file system corruption on receiving server ( for files not modified for long time ).
the trick is not to let nagios plugin do heavy lifting ( eg verifying the whole backup ), but rather schedule cron job that does that and have nagios plugin just checking result of the job ( eg file created or content of log file ).
and by the way - check this out.