| 1 |
This plugin must be run as the same user that BackupPC runs under. For a host |
| 2 |
to be considered an archive host by the --backup-only and --archive-only options |
| 3 |
at least one archive must be run by the host. |
| 4 |
|
| 5 |
Sample configuration for NRPE with Ubuntu hosts: |
| 6 |
1) Add the following line to /etc/sudoers on the backup host |
| 7 |
nagios ALL = (backuppc) NOPASSWD: /usr/local/lib/nagios/plugins/check_backuppc |
| 8 |
|
| 9 |
2) Add the following line to /etc/nagios/nrpe.cfg |
| 10 |
command[check_backuppc]=/usr/bin/sudo -u backuppc \ |
| 11 |
/usr/local/lib/nagios/plugins/check_backuppc |
| 12 |
|
| 13 |
3) Add the appropriate stanza to your Nagios configuration to use this check |
| 14 |
with NRPE. |