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:
authorHarald Pfeiffer <coding _ lirion.de> 2019-04-17 19:07:19 +0200
committerHarald Pfeiffer <coding _ lirion.de> 2019-04-17 19:07:19 +0200
commit1e2387474a449452b78520b9ad96a8b4b5e99722 (patch)
tree836889471eec7d2aac177405068e2a8f1e2b1978 /nagios-plugins-contrib-24.20190301~bpo9+1/check_backuppc/check_backuppc-1.1.0/README
downloadnagios-plugins-contrib-1e2387474a449452b78520b9ad96a8b4b5e99722.tar.bz2
initial commit of source fetch
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.