rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] nagios plugin WAS rdiff-backup fails


From: Ben Escoto
Subject: Re: [rdiff-backup-users] nagios plugin WAS rdiff-backup fails
Date: Tue, 9 Aug 2005 15:35:15 -0700

>>>>> David Kempe <address@hidden>
>>>>> wrote the following on Mon, 08 Aug 2005 22:43:30 +1000

> On this topic, I have been trying to write a nagios plugin to check the 
> state of rdiff-backup repos.
> Here is the data I have been able to glean off from analysis of backups:
...

Yes, that's right.  0 current_mirrors means it's not an rdiff-backup
repository (yet).  1 current_mirrors means rdiff-backup worked
normally last time.  2 current_mirrors means rdiff-backup failed last
time or is in progress.

If there's one current_mirror, there'll be one mirror_metadata,
file_statistics, error_log, etc for each session.  If there are 2,
then there may be some of these matching the newer current_mirror.

> eventually, I hope to have a complete plugin to check the overall
> health of the repo - including healthy size differences, times
> expected to finish etc. Much better than reading bloody backup logs
> every day.

Sounds really useful.  I wish there was one thing like this for my
system that would just send me an email if anything was broken :)

A much simpler notification program could send email or something if
rdiff-backup exited with error, or just check to make sure there is
exactly one current_mirror in each rdiff-backup-data directory.


-- 
Ben Escoto

Attachment: pgpxXCqnUiqxL.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]