author | Matthias Förste foerste@schlittermann.de |
Fri, 05 Aug 2011 09:41:48 +0200 | |
changeset 1 | 0990f72db33c |
parent 0 | 2098311fb227 |
child 2 | ea7ab1688629 |
check_amanda.pl | file | annotate | diff | comparison | revisions |
--- a/check_amanda.pl Tue May 17 10:12:33 2011 +0200 +++ b/check_amanda.pl Fri Aug 05 09:41:48 2011 +0200 @@ -80,7 +80,8 @@ my $rc = "CRITICAL"; foreach (`$opt{binary} --config $configfile --error`) { - /^Using.*from\s+(.*)$/ and $last_backup_date = $1 and next; + /^Using / and next; + /^From\s+(.*)$/ and $last_backup_date = $1 and next; /^\S+/ and $mesg = "some failed backups" and last; }