centos nagios CHECK_NRPE: Error – Could not complete SSL handshake

Whether port 0 and 5666 have been opened
Yum install Telnet
Telnet 5666

1. Confirm that OpensSL has been installed
#yum install openssl

2. Modify allowed_hosts of NRPE. CFG
vim /usr/local/nagios/etc/nrpe.cfg
Wildcards are not supported for #allowed_hosts and multiple ips are separated by commas allowed_hosts =

3. Modify the IP for xinetd startup configuration (if starting with xinetd)
vim /etc/xinetd.d/nrpe
Only_from =

4. Restart NRPE service
/usr/local/nagios/bin/nrpe - c /usr/local/nagios/etc/nrpe CFG - d

5. Test and display the version description successfully
#/usr/lib/nagios/plugins/check_nrpe - H
# NRPE v2.13

Read More: