Packages you will need:
gcc
openssl-devel
- Create an install dir:
mkdir /install
- Download NRPE:
wget http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz tar -zxvf nrpe-2.12.tar.gz
cd nrpe-2.12
./configure
should end with an output like this:
*** Configuration summary for nrpe 2.12 03-10-2008 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Nagios user: nagios Nagios group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client.
- Run
make all
useradd nagios
make install
- Edit and install nrpe.cfg into /usr/local/nagios/etc
- Go back into
cd /install
- Download Nagios-Plugisns:
wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.14.tar.gz tar -zxvf nagios-plugins-1.4.14.tar.gz
cd nagios-plugins-1.4.14
./configure
make all
make install
- Install nrpe into /etc/init.d
chmod a+x nrpe
- Run
chkconfig --add nrpe
chkconfig --level 235 nrpe on
Add Comment