Could not complete SSL handshake error on Solaris 10 client
Posted: Tue Oct 01, 2013 7:03 am
Nagios Team,
We have installed Nagios client on Solaris 10 machine as per attached procedure. But, we are getting error "CHECK_NRPE: Error - Could not complete SSL handshake."
We checked the document http://assets.nagios.com/downloads/nagi ... utions.pdf : Section III thoroughly.
We have tried everything except reinstalling nrpe with SSL option. We are not aware how to uninstall nrpe 2.14 from Solaris 10 machine and try reinstall using SSL option.
Please advice us on how to go about from here.
Below is the output from nagios server and client.
#####################################################################################################
From Solaris client
#####################################################################################################
(nagios@usa0300ux320)/u01/home/nagios-> ps -ef|grep nrpe
nagios 1536 1 0 Sep 11 ? 2:14 /opt/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d
nagios 27857 27519 0 05:35:14 pts/10 0:00 grep nrpe
(nagios@usa0300ux320)/u01/home/nagios-> svcs -a|grep nrpe
online Sep_11 svc:/application/nagios/nrpe:default
(nagios@usa0300ux320)/u01/home/nagios-> netstat -an|grep 5666
*.5666 *.* 0 0 49152 0 LISTEN
(nagios@usa0300ux320)/u01/home/nagios-> cat /etc/nagios/nrpe.cfg|grep allowed
# that are allowed to talk to the NRPE daemon. Network addresses with a bit mask
allowed_hosts=13.129.109.69,127.0.0.1
(nagios@usa0300ux320)/u01/home/nagios-> cat /etc/nagios/nrpe.cfg|grep blame
dont_blame_nrpe=1
# command arguments *AND* the dont_blame_nrpe directive in this
(nagios@usa0300ux320)/u01/home/nagios-> telnet localhost 5666
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection to localhost closed.
(nagios@usa0300ux320)/u01/home/nagios-> cd /opt/nagios/libexec
(nagios@usa0300ux320)/opt/nagios/libexec-> ls -l check_nrpe
-rwxr-xr-x 1 nagios bin 56016 Jan 18 2013 check_nrpe
(nagios@usa0300ux320)/opt/nagios/libexec-> ./check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.]
#####################################################################################################
From nagios server: 13.129.109.69
#####################################################################################################
-bash-3.2$ telnet usa0300ux320 5666
Trying 13.129.12.64...
Connected to usa0300ux320.apps.mc.xerox.com (13.129.12.64).
Escape character is '^]'.
^]
telnet> quit
Connection closed.
-bash-3.2$ cd /usr/local/nagios/libexec/
-bash-3.2$ ls -l check_nrpe
-rwxrwxr-x 1 nagios nagios 66381 Jan 15 2013 check_nrpe
-bash-3.2$ ./check_nrpe -t 60 -H usa0300ux320
CHECK_NRPE: Error - Could not complete SSL handshake.
-bash-3.2$ ./check_nrpe -n -t 60 -H usa0300ux320
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
-bash-3.2$ nmap 13.129.12.64 -p 5666
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-10-01 06:52 EDT
Interesting ports on usa0300ux320.apps.mc.xerox.com (13.129.12.64):
PORT STATE SERVICE
5666/tcp open unknown
#####################################################################################################
#####################################################################################################
We have installed Nagios client on Solaris 10 machine as per attached procedure. But, we are getting error "CHECK_NRPE: Error - Could not complete SSL handshake."
We checked the document http://assets.nagios.com/downloads/nagi ... utions.pdf : Section III thoroughly.
We have tried everything except reinstalling nrpe with SSL option. We are not aware how to uninstall nrpe 2.14 from Solaris 10 machine and try reinstall using SSL option.
Please advice us on how to go about from here.
Below is the output from nagios server and client.
#####################################################################################################
From Solaris client
#####################################################################################################
(nagios@usa0300ux320)/u01/home/nagios-> ps -ef|grep nrpe
nagios 1536 1 0 Sep 11 ? 2:14 /opt/nagios/bin/nrpe -c /etc/nagios/nrpe.cfg -d
nagios 27857 27519 0 05:35:14 pts/10 0:00 grep nrpe
(nagios@usa0300ux320)/u01/home/nagios-> svcs -a|grep nrpe
online Sep_11 svc:/application/nagios/nrpe:default
(nagios@usa0300ux320)/u01/home/nagios-> netstat -an|grep 5666
*.5666 *.* 0 0 49152 0 LISTEN
(nagios@usa0300ux320)/u01/home/nagios-> cat /etc/nagios/nrpe.cfg|grep allowed
# that are allowed to talk to the NRPE daemon. Network addresses with a bit mask
allowed_hosts=13.129.109.69,127.0.0.1
(nagios@usa0300ux320)/u01/home/nagios-> cat /etc/nagios/nrpe.cfg|grep blame
dont_blame_nrpe=1
# command arguments *AND* the dont_blame_nrpe directive in this
(nagios@usa0300ux320)/u01/home/nagios-> telnet localhost 5666
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection to localhost closed.
(nagios@usa0300ux320)/u01/home/nagios-> cd /opt/nagios/libexec
(nagios@usa0300ux320)/opt/nagios/libexec-> ls -l check_nrpe
-rwxr-xr-x 1 nagios bin 56016 Jan 18 2013 check_nrpe
(nagios@usa0300ux320)/opt/nagios/libexec-> ./check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.]
#####################################################################################################
From nagios server: 13.129.109.69
#####################################################################################################
-bash-3.2$ telnet usa0300ux320 5666
Trying 13.129.12.64...
Connected to usa0300ux320.apps.mc.xerox.com (13.129.12.64).
Escape character is '^]'.
^]
telnet> quit
Connection closed.
-bash-3.2$ cd /usr/local/nagios/libexec/
-bash-3.2$ ls -l check_nrpe
-rwxrwxr-x 1 nagios nagios 66381 Jan 15 2013 check_nrpe
-bash-3.2$ ./check_nrpe -t 60 -H usa0300ux320
CHECK_NRPE: Error - Could not complete SSL handshake.
-bash-3.2$ ./check_nrpe -n -t 60 -H usa0300ux320
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
-bash-3.2$ nmap 13.129.12.64 -p 5666
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-10-01 06:52 EDT
Interesting ports on usa0300ux320.apps.mc.xerox.com (13.129.12.64):
PORT STATE SERVICE
5666/tcp open unknown
#####################################################################################################
#####################################################################################################