NRPE出现“CHECK_NRPE: Error - Could not complete SSL handshake.”错误
解决方案一
-
在监控端使用NRPE检测存活状态时提示“CHECK_NRPE: Error - Could not complete SSL handshake.”
/usr/local/nagios/libexec/check_nrpe -H 被监控端IP
-
打开被监控端nrpe配置文件
#vim /usr/local/nagios/etc/nrpe.cfg
-
在allowed_hosts中添加监控端IP地址
-
重启xinetd进程
/etc/init.d/xinetd restart
-
将NRPE端口加入到防火墙
-
重启防火墙
/etc/init.d/iptables restart
-
7
再次尝试查看NRPE状态发现已经正常了
/usr/local/nagios/libexec/check_nrpe -H 被监控端IP
解决方案二
Title: | Debugging "CHECK_NRPE: Error - Could not complete SSL handshake" errors |
FAQ ID: | F0191 |
Submitted By: | Greg Haygood, Ethan Galstad and Others |
Last Updated: | 11/03/2004 |
Description: | When attempting to use the check_nrpe plugin, the following error message is printed: CHECK_NRPE: Error - Could not complete SSL handshake |
Solution: |
This error message could be due to several problems:
Dave van Nierop added that "Fortunately, for HPUX 11.i (11.11) and later Nagios users, HP now supports /dev/random and /dev/urandom via a kernel loadable module. Prior to running the NRPE 2.0 configure script, you will need to download this program from http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I. Installation does require a server reboot. For detailed information, consult http://newfdawg.com/SSHpart5.htm |