CHECK_NRPE Error with SSL handshake
Posted: Mon Oct 12, 2015 11:16 am
We encountered such a problem that the compiled Nagios NRPE agent codes on Redhat 6.5 node failed to work on Redhat 6.2 node or Redhat 6.4 node due to the issue of different openssl/openssl-devel version installed. For example, we have openssl-1.0.1e-16.el6_5.15.x86_64 and openssl-devel-1.0.1e-16.el6_5.15.x86_64 installed on a Redhat 6.5 node and we compiled the NRPE v2.15 on it. When we copied the codes to a Redhat 6.2 node that has openssl-devel-1.0.0-20.el6.x86_64 and openssl-1.0.0-20.el6.x86_64 installed, we received an "CHECK_NRPE: Error - Could not complete SSL handshake" message when running check_nrpe locally or remotely on the Nagiuos XI server that is allowed to access this Nagios NRPE managed node. It is believed this error was due to the different version of openssl and openssl-devel that are installed on the Nagios NRPE managed node, comparing the openssl and openssl-devel used for compiling the codes on the Redhat 6.5 node. So we had to compile Nagios NRPE v2.15 codes on the Redhat 6.2 node to make it work. So this brings up two questions:
1) we may have to compile Nagios NRPE agent codes on different Redhat 6.x releases, depending on the versions of openssl and openssl-devel on Redhat 6.x nodes. So we may not be able to use the same compiled codes for other Redhat 6.x releases.
2) Even the Nagios NRPE agent codes are working fine on a Redhat 6.x node, once the openssl and openssl-devel are upgraded to a newer version, it may probably break the current Nagios NRPE agent codes on this node, and then we would have to recompile the Nagios NRPE agent codes with the newer version of openssl and openssl-devel.
What is a solution or suggestion to deal with this issue? We have Nagios XI 2014R2.7 and Nagios NRPE v2.15.
Thanks!
1) we may have to compile Nagios NRPE agent codes on different Redhat 6.x releases, depending on the versions of openssl and openssl-devel on Redhat 6.x nodes. So we may not be able to use the same compiled codes for other Redhat 6.x releases.
2) Even the Nagios NRPE agent codes are working fine on a Redhat 6.x node, once the openssl and openssl-devel are upgraded to a newer version, it may probably break the current Nagios NRPE agent codes on this node, and then we would have to recompile the Nagios NRPE agent codes with the newer version of openssl and openssl-devel.
What is a solution or suggestion to deal with this issue? We have Nagios XI 2014R2.7 and Nagios NRPE v2.15.
Thanks!