HOW TO INSTALL NAGIOS SOLARIS 11.X WITH AGENT SOLARIS 10

HOW TO INSTALL NAGIOS SOLARIS 11.X WITH AGENT SOLARIS 10


1.- Download  solaris-nrpe-agent.tar.gz

#wget http://assets.nagios.com/downloads/nagiosxi/agents/solaris-nrpe-agent.tar.gz

2.- Create the following Symbolic Links because nagios client needs the following libssl and with solaris 11.X it is pointing to libssl.so.1.0.0



#ln -s /lib/libssl.so /usr/lib/libssl.so.0.9.7 
#ln -s /lib/libssl.so /usr/lib/libcrypto.so.0.9.7

3.-Uncompress the tar.gz file "solaris-nrpe-agent.tar.gz"

#tar -xvf solaris-nrpe-agent.tar.gz

 4.- Edit the following script "solaris-nrpe-agent/init.sh" and change the line "5.10" for "5.11" as below



   if [ $ver = "5.10" ]

put
   if [ $ver = "5.11" ]

5.- Finally execute the installation script

#./fullinstall 


6.- In the line "allowed_hosts" add the nagios server or servers  

allowed_hosts=127.0.0.1,10.1.1.2

7.- Restart the nagios services and check if you have the port 5666 Listening

#svcadm restart nrpe

#netstat -an | grep 5666 | grep LISTEN
 *.5666           *.*                0      0 49152      0 LISTEN

Regards
Roger  



Comments

emmy said…
buenas noches, gente tengo el siguiente problema al intentar descargar el paquete

root@solEx:~# wget http://assets.nagios.com/downloads/nagiosxi/agents/solaris-nrpe-agent.tar.gz
ld.so.1: wget: fatal: /lib/libssl.so.0.9.8: unknown file type
Killed

alguien me podra ayudar.
saludos