开发者社区> 白及88> 正文

CHECK_NRPE: Error - Could not complete SSL handshake.

简介: <p style="margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px; font-family:Arial; font-size:14px; line-height:26px"> 在linux服务器上面监控的客户机,返回如下信息:</p> <p style="margin-top:0px; ma
+关注继续查看

在linux服务器上面监控的客户机,返回如下信息:

load check
CRITICAL
03-21-2013 10:25:06
0d 2h 23m 23s
4/4
CHECK_NRPE: Error - Could not complete SSL handshake.

 

[root@localhost nrpe-2.15]# /usr/local/nagios/libexec/check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.

添加  /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 


slave备机上没有问题 换成 localhost就有问题。

在主机上测试 输入主机的IP地址就没有问题

[root@master nrpe-2.15]# /usr/local/nagios/libexec/check_nrpe -H 192.168.19.*
NRPE v2.15


查理好久,才发现是 客户机器上面的nrpe.cfg里面,有一个 allow_hosts参数,里面设置了允许访问的主监控nagios服务器,如果没有在这里面添加ip的话,就会报如上错误:

nrpe.cfg

加入nagios主服务器是 192.168.1.110, 被监控的mysql serer 是 192.168.1.134, 那么192.168.1.134上面的nrpe.cfg文件里面的allow_hosts参数后面必须添加上nagios主服务器的IP地址192.168.19.*

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
fatal: unable to access github.com schannel failed to receive handshake, SSL/TLS connection failed
fatal: unable to access github.com schannel failed to receive handshake, SSL/TLS connection failed
35 0
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
2041 0
Fetch failed: unable to access': E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Fetch failed: unable to access': E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
136 0
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
最近在学习TensorFlow,获取fashion_mnist数据集的时候出现了一点小问题,报错内容如下: URL fetch failure on https://storage.googleapis.com/tensorflow/tf-keras-datasets/train-labels-idx1-ubyte.gz: None -- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108) ————————————————
368 0
WARNING:The remote SSH server rejected X11 forwarding request.
WARNING:The remote SSH server rejected X11 forwarding request.
77 0
curl error: SSL certificate problem: unable to get local issuer certificate解决方案
curl error: SSL certificate problem: unable to get local issuer certificate解决方案
127 0
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
4506 0
+关注
白及88
白及
文章
问答
视频
文章排行榜
最热
最新
相关电子书
更多
Substitution failure is not an
立即下载
Substitution failure
立即下载
KR^X- Comprehensive- Kernel-Protection-Against-Just-In-Time-Code-Reuse
立即下载