check_duplicity - Nagios plugin for monitoring Duplicity log files

 

check_printer result

 

Download information:

 

NAME

check_duplicity - Nagios NRPE plugin for Duplicity log files

SYNOPSIS

check_duplicity [ --logfile Duplicity log file ] [ --verbose ] [ --help ]

DESCRIPTION

check_duplicity is a Nagios NRPE plugin for analyzing statistics at the end of a Duplicity log file. It can also be used as a passive check provider. Duplicity backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server. Because duplicity uses librsync, the incremental archives are space efficient and only record the parts of files that have changed since the last backup. Because duplicity uses GnuPG to encrypt and/or sign these archives, they will be safe from spying and/or modification by the server. Duplicity supports more than 20 backends like Amazon S3, DropBox, ftp, Google Docs, Google Drive, IMAP, local filesystem, Microsoft Azure, Microsoft Onedrive, rsync, ssh/scp and WebDAV.

Example statistics log:

 --------------[ Backup Statistics ]--------------
 StartTime 1481419816.56 (Sun Dec 11 02:30:16 2016)
 EndTime 1481419817.16 (Sun Dec 11 02:30:17 2016)
 ElapsedTime 0.60 (0.60 seconds)
 SourceFiles 3
 SourceFileSize 110928860 (106 MB)
 NewFiles 0
 NewFileSize 0 (0 bytes)
 DeletedFiles 0
 ChangedFiles 2
 ChangedFileSize 110924764 (106 MB)
 ChangedDeltaSize 0 (0 bytes)
 DeltaEntries 2
 RawDeltaSize 5375005 (5.13 MB)
 TotalDestinationSizeChange 2138249 (2.04 MB)
 Errors 0
 -------------------------------------------------

OPTIONS

--logfile Duplicity log file

This option specifies the log output produced by Duplicity.

--verbose

Increases output verbosity for debugging.

--help

Produces a help message.

EXAMPLES

 check_duplicity --logfile dupbackup.log

Scans contents of the logfile from the bottom, extracts opeartions statistics and produce output.

EXIT VALUES

 0 OK
 1 WARNING
 2 CRITICAL
 3 UNKNOWN

AUTHOR

Tevfik Karagulle http://www.itefix.net

SEE ALSO

Nagios web site http://www.nagios.org
 
Nagios NRPE documentation http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
 
Duplicity http://duplicity.nongnu.org/
 

COPYRIGHT

This program is distributed under the Artistic License. http://www.opensource.org/licenses/artistic-license.php

VERSION

Version 1.0, December 2016

CHANGELOG

Initial version