diff -r 3424e8d5613a -r b39907422946 check_rsnapshot.pl --- a/check_rsnapshot.pl Tue Apr 02 10:54:33 2013 +0200 +++ b/check_rsnapshot.pl Thu Dec 12 11:06:57 2013 +0100 @@ -47,7 +47,7 @@ my %opt = ( binary => "/usr/bin/rsnapshot", maxage => undef, - date => "yesterday" + date => "today" ); MAIN: { @@ -196,7 +196,13 @@ =item B<-d>|B<--date> I -Parse date for rsnapshot logfile. (default: yesterday) +Parse date for rsnapshot logfile. (default: today) + +Note: this defaulted to 'yesterday' earlier to avoid the situation that the +check goes critical while rsnapshot is still running. I think the nagios check +should either be scheduled later or the check should indeed check for the run +from yesterday if a later schedule is not desirable for some reason in that +case. But that should B be the default. =item B<-h>|B<--help>