Openfiler Install NRPE

INSTALL Compiler Dependency

conary update gcc (a C-Compilter to compile the NRPE)
conary update glibc:devel
conary update openssl:devel
conary update xinetd
Add User
——–
useradd nagios
passwd nagios
INSTALL NRPE
————
cd /usr/local/src/
wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.13/nrpe-2.13.tar.gz?r=http%3A%2F%2Fexchange.nagios.org%2Fdirectory%2FAddons%2FMonitoring-Agents%2FNRPE–2D-Nagios-Remote-Plugin-Executor%2Fdetails&ts=1342427280&use_mirror=nchc
tar xzfv nrpe-2.12.tar.gz
cd nrpe-2.12
./configure
make all
make install-plugin
make install-daemon
make install-daemon-config
make install-xinetd
Edit /etc/xinetd.d/nrpe file and Change the value of ONLY_FROM to the IP-address of the Nagios server.
Edit the /etc/services file and add a line: nrpe 5666/tcp # NRPE
service xinetd restart
Test with: netstat -at | grep nrpe
Otherwise, open your IPTables Firewall: iptables -I RH-Firewall-1-INPUT -p tcp -m tcp –dport 5666 -j ACCEPT
service iptables save
INSTALL NAGIOS TOOLS
——————–
cd /usr/local/src
wget http://downloads.sourceforge.net/project/nagiosplug/nagiosplug/1.4.16/nagios-plugins-1.4.16.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fnagiosplug%2F%3Fsource%3Ddirectory&ts=1342427687&use_mirror=nchc
tar xzfv nagios-plugins-1.4.13.tar.gz

cd nagios-plugins-1.4.13
./configure –with-nagios-user=nagios –with-nagios-group=nagios
make
make install
 
Src: http://jerry2yang.wordpress.com/2012/01/09/openfiler-install-nrpe/
Share