git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/nagios-plugins-contrib-24.20190301~bpo9+1/check_backuppc/check_backuppc-1.1.0/README
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-plugins-contrib-24.20190301~bpo9+1/check_backuppc/check_backuppc-1.1.0/README')
-rw-r--r--nagios-plugins-contrib-24.20190301~bpo9+1/check_backuppc/check_backuppc-1.1.0/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/check_backuppc/check_backuppc-1.1.0/README b/nagios-plugins-contrib-24.20190301~bpo9+1/check_backuppc/check_backuppc-1.1.0/README
new file mode 100644
index 0000000..191e8c4
--- /dev/null
+++ b/nagios-plugins-contrib-24.20190301~bpo9+1/check_backuppc/check_backuppc-1.1.0/README
@@ -0,0 +1,14 @@
+This plugin must be run as the same user that BackupPC runs under. For a host
+to be considered an archive host by the --backup-only and --archive-only options
+at least one archive must be run by the host.
+
+Sample configuration for NRPE with Ubuntu hosts:
+1) Add the following line to /etc/sudoers on the backup host
+ nagios ALL = (backuppc) NOPASSWD: /usr/local/lib/nagios/plugins/check_backuppc
+
+2) Add the following line to /etc/nagios/nrpe.cfg
+ command[check_backuppc]=/usr/bin/sudo -u backuppc \
+ /usr/local/lib/nagios/plugins/check_backuppc
+
+3) Add the appropriate stanza to your Nagios configuration to use this check
+ with NRPE.