Run the check_nrpe command to check whether the nrpe is correctly installed. The following error occurs:
Check_nrpe: Error-cocould not complete SSL handshake.
Check whether the OpenSSL and openssl_devel plug-ins are installed.
2:/usr/local/Nagios/etc/nrpe. CFG: This configuration file is correctly configured. Note that space: allowed_host = 127.0.0.1, 192.168.0.1 is incorrect. It must be allowed_host = 127.0.0.1, 192.168.0.1. no space is allowed after the comma.
In addition, if/usr/local/Nagios/libexec/check_nrpe-H 127.0.0.1 is executed on the monitored server
The result is nrpe v2.12, but the result is: check_nrpe: Error-cocould not complete SSL handshake.
Check the processes on the monitored server: After executing the command PS-Ef | grep nrpe, no processes are displayed. This indicates that this nrpe has been installed and can be removed from the original configuration and then started nrpe. The procedure is as follows:
1. Remove the/etc/xinetd. d/nrpe file.
2. Restart the ninetd. d service. /Etc/init. d/xinetd restart
3. Restart nrpe. /Usr/local/Nagios/bin/nrpe-C/usr/local/Nagios/etc/nrpe. cfg-d