Hello,
| Could somebody give me (total newbie) a short howto for
| installing the Nagios-Plugin "check_backuppc"
| (http://n-backuppc.sourceforge.net/)
|
| Running System: Debian-Etch; Apache2; Nagios 1.4.
not tested (yet), but just take a look at README & INSTALL provided with
the package:
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.
Automated Install Steps:
------------------------
1) Set NAGIOS_LIB to the directory containing Nagios's util.pm
2) Set BACKUPPC_LIB to the directory containing BackupPC's Perl
libraries
3) Set PREFIX to the desired installation location
4) make install
Manual Install Steps:
---------------------
1) Edit check_backuppc and adjust the two "use lib" lines to refer to
the
correct location for Nagios's utils.pm and BackupPC's Perl libraries.
2) Copy check_backuppc into where you want this plugin.
Configuration:
--------------
1) Add a sudoers entry to allow Nagios to run this plugin as the
BackupPC user.
2) Configure Nagios to run this plugin through sudo as the BackupPC
user.
3) Test
4) Add to Nagios service checks
Kind regards,
Tom
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/