aboutsummaryrefslogtreecommitdiff
path: root/files/nagios_plugins/duplicity/README.md
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-04-14 12:33:39 +0200
committervarac <varacanero@zeromail.org>2013-04-14 12:33:39 +0200
commit2ce6a99e0e0fdfd4555c5e6c15731a7fae45da2e (patch)
treece3c76d6559e4cea4a48e1b8b45c3e477019eb61 /files/nagios_plugins/duplicity/README.md
parentea5cf965fc63ba39507de5e68f39563b87b7f0bc (diff)
parentdaeb1a1f112a4dbf6b39565f0dea461e46a64681 (diff)
downloadpuppet-backupninja-2ce6a99e0e0fdfd4555c5e6c15731a7fae45da2e.tar.gz
puppet-backupninja-2ce6a99e0e0fdfd4555c5e6c15731a7fae45da2e.tar.bz2
Merge branch 'master' of code.leap.se:puppet_backupninja into nadir_master
Diffstat (limited to 'files/nagios_plugins/duplicity/README.md')
-rw-r--r--files/nagios_plugins/duplicity/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/files/nagios_plugins/duplicity/README.md b/files/nagios_plugins/duplicity/README.md
new file mode 100644
index 0000000..1cd349a
--- /dev/null
+++ b/files/nagios_plugins/duplicity/README.md
@@ -0,0 +1,24 @@
+duplicity-backup-status
+=======================
+
+Backupninja generates duplicity configfiles, this nagios plugin can check their freshness. Currently only the config files generated by backupninja can be parsed and we depend on that.
+
+## Prerequisites
+
+Make sure you have python-argparse installed (yes an extra dependency, getopt doubles the amount of code, so I gave up on that). The Python script will look for the duplicity_freshness.sh shell script in /usr/local/lib/nagios/plugins/ or /usr/lib/nagios/plugins/ make sure you copy it there and make executable.
+
+## Getting started
+
+Run the python script from your nagios. Don't forget to specify some extras like when warnings or criticalities should be emerged.
+
+- -w WARNINC Number of hours allowed for incremential backup warning level default 28
+- -W WARNFULL Number of hours allowed for incremential backup critical level default 40
+- -c CRITINC Number of days allowed for full backup warning level default 52
+- -C CRITFULL Number of days allowed for full backup critical level default 60
+
+
+## TODO:
+
+- make it cuter, tidy up
+- make it more robust
+- support other config backends as backupninja - this can be done by writing more scripts like backupninja_duplicity_freshness.sh and parsing an extra parameter