客户端NRPE无法正常工作:
现象:
/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
CHECK_NRPE: Error - Could not complete SSL handshake
1)安装依赖包:
yum install openssl-devel -y
2)将服务器IP地址(192.168.1.100)加入到allowed_hosts中
vim nrpe.conf +77
allowed_hosts=192.168.1.100,127.0.0.1
3)停止服务后重启服务
停止服务:
#pkill nrpe
启动服务:
#/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
4)重新测试:
[root@node120 etc]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
NRPE v2.12
本文出自 “阮胜昌的技术博客” 博客,谢绝转载!
nagios CHECK_NRPE: Error - Could not complete SSL handshake
原文地址:http://rscpass.blog.51cto.com/771159/1865980