Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Hello all,
I have a very strange behavior with nrpe v2.13
I have a setup of nagios working fine for monitoring mine windows systems (with nsclient) and all fedora systems.
Everything works fine.
But now i'am trying to ad a sles 9 system in mine monitoring system.
every time looks good also the instalaltion of nagios plugin and the nrpe.
but when i try to access the remote system from the nagios host i got the following
./check_nrpe -H ip.address
CHECK_NRPE: Socket timeout after 10 seconds.
but with the -n option it works
./check_nrpe -H ip.address -n
NRPE v2.13
how can i solve this, i can success telnet the remote system from the nagios host on port 5666.
also add the nagios host in the /etc/hosts.allow of the monitoring server.
If it's succeeding with -n then the remote server was probably installed without SSL, recompile NRPE on that server with the --with-ssl switch so when compiling:
./config --with-ssl
The -n switch tells it to not use SSL to encrypt traffic.
Hello thanks but it doesn't work for me when i execute the command ./configure --with-ssl
i got the following error: /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/tmp/nagios/nrpe-2.13/src'
I was also watching a strange behavior with nrpe v2.13. I tried to execute the command ./configure --with-ssl and I also got the same type of error. That’s to say:
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/tmp/nagios/nrpe-2.13/src'
I checked the installations of Linux SSL and SSL-devel packages. It appears the problem was there, because after checking those elements everything seems to be working well now. Thanks a lot.