blob: 191e8c4749aaddc8fa3a31b3c89951a18f5fc376 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.
|