| 1 |
Automated Install Steps: |
| 2 |
------------------------ |
| 3 |
1) Set NAGIOS_LIB to the directory containing Nagios's util.pm |
| 4 |
2) Set BACKUPPC_LIB to the directory containing BackupPC's Perl libraries |
| 5 |
3) Set PREFIX to the desired installation location |
| 6 |
4) make install |
| 7 |
|
| 8 |
Manual Install Steps: |
| 9 |
--------------------- |
| 10 |
1) Edit check_backuppc and adjust the two "use lib" lines to refer to the |
| 11 |
correct location for Nagios's utils.pm and BackupPC's Perl libraries. |
| 12 |
2) Copy check_backuppc into where you want this plugin. |
| 13 |
|
| 14 |
Configuration: |
| 15 |
-------------- |
| 16 |
1) Add a sudoers entry to allow Nagios to run this plugin as the BackupPC user. |
| 17 |
2) Configure Nagios to run this plugin through sudo as the BackupPC user. |
| 18 |
3) Test |
| 19 |
4) Add to Nagios service checks |