Nagios y Openfiler 2.3
Ya tengo OpenFiler 2.3 en "producción" y quería monitorizarlo con Nagios. Buscando un poco en google, me he encontrado éste post en el foro de Openfiler. Os "copiopego" por si deja de estar disponible:
conary update gcc (a C-Compilter to compile the NRPE)
conary update glibc:devel
conary update openssl:develAdd User
--------
useradd nagios
passwd nagiosINSTALL 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-xinetdEdit /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 saveINSTALL 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
Saludos!


