./nagios_rdiffbackup_check -w 6h -c 12h -d /path/to/destination
A simple Nagios plugin to check how recent the current mirror increment of an http://www.rdiff-backup.org/|rdiff-backup destination is.
-w / --warning and
-c / --critical options set the warning and critical threshold values for the maximum time since last mirror increment.
They can be given in seconds, or with logical suffixes -
m for minutes,
h for hours,
d for days.
-d / --dest option specifies the directory to which rdiff-backup has been backing up.
--rdiff-backup option sets the path to the
rdiff-backup script; by default, just
rdiff-backup will be used, which will work assuming that
rdiff-backup is found in