Openfiler Install NRPE

Install NAGIOS Client (NRPE) ON OPENFILER

from:https://forums.openfiler.com/viewtopic.php?pid=17843

=========================================

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/nagios … .12.tar.gz
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/nagios … g_mirror=0
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

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s