I just spent a little time looking at why my Nagios backuppc check
failed on a backup yesterday - it turned out that when the message:
"md4 doesn't match: will retry in phase 1; file removed"
is logged, it counts as an error (RsyncFileIO.pm):
if ( $phase > 0 ) {
$fio->log("$name: fatal error: md4 doesn't match on
retry;"
. " file removed");
} else {
$fio->log("$name: md4 doesn't match: will retry in phase
1;"
. " file removed");
}
$fio->{stats}{errorCnt}++;
...
return 1;
Should that _really_ count as an error? If it recovers then I don't
really care (according to
http://osdir.com/ml/sysutils.backup.backuppc.general/2005-02/msg00162.html it
is just an artifact of the Rsync process.
Perhaps it should only count as an error if phase >0?
Thanks,
Adrian
--
Adrian Bridgett
Infrastructure and Network Architect
Mobile: +44 (0) 777 377 8251 Tel : +44 (0) 1189 294202
Skype: abridgett Email: [EMAIL PROTECTED]
www.opsera.com
Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK
This e-mail is confidential, intended only for the named recipient(s)
above and may contain information that is privileged and confidential.
If you receive this message in error, or are not the named recipient(s),
please notify the sender at the phone number above, do not copy this
message, do not disclose its contents to anyone, and delete this e-mail
message from your computer. Although Opsera routinely screens for
viruses, addressees should scan this e-mail and any attachments for
viruses. Opsera makes no representation or warranty as to the absence of
viruses in this e-mail or any attachments.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/