nagios CHECK_NRPE: Error - Could not complete SSL handshake

客户端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)重新测试:

[[email protected] etc]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1

NRPE v2.12

时间: 2024-08-06 16:04:34

nagios CHECK_NRPE: Error - Could not complete SSL handshake的相关文章

check_nrpe: ERROR - could not complete SSL handshake

情景描述: 发现的问题是 在监控端执行 ./check_nrpe -H 被监控端ip 正常返回nrpe版本 在被监控端执行 ./check_nrpe -H 监控端ip 报错 check_nrpe: ERROR - could not complete SSL handshake 因为使用xinetd起的客户端nrpe进程,所以只需配置好/etc/xinetd.d/nrpe即可,该文件里的only_from 已经配置了127和监控端ip 解决尝试: 感觉是连接数限制 本次新加了更具体的磁盘监控,-

彻底解决CHECK_NRPE: Error - Could not complete SSL handshake.

伸展树模版真的好长好长... cut a b c:把第a-1个数伸展到根节点,把第b+1个数伸展到a的右子树,然后把ch[ch[root][1][0]]拿掉,放在剩下的树的第c个节点下. flip a b:把第a-1个数伸展到根节点,把第b+1个数伸展到a的右子树,然后翻转ch[ch[root][1][0]]: 由于会出现操作两边的情况,所以加了两个-1节点. 注意: 1,输出的时候要注意空格和换行. 2,在拿掉子树的时候要注意push_up(); #include<stdio.h> #inc

在阿里云linux下使用SVN访问VisualSVN出错:SSL handshake failed: SSL error: Key usage violation in certificate has been detected

Subversion clients receive the following error message when attempting to connect to VisualSVN Server: svn: OPTIONS of 'https://server.domain.local/svn/repo': SSL handshake failed: SSL error:Key usage violation in certificate has been detected. (http

解决Linux下Svn检出Windows SVN服务器上项目SSL handshake failed: SSL error: Key usage violation in certificate has been detected.

在Linux上检出windows SVN服务器上项目时出现了SSL handshake failed: SSL error: Key usage violation in certificate has been detected.的错误. 最后通过从网上检索找到了一个答案: 可以同时解决掉在Ubuntu上和CentOS上检出失败的问题. 在Windows注册表中加入注册项: 32位机器: [HKEY_LOCAL_MACHINE\SOFTWARE\VisualSVN\VisualSVN Serv

Android关于 https SSL handshake aborted 问题查找

Android 关于 https SSL handshake aborted 问题查找 记录这个问题的定位过程和问题定位的方法 1.问题描述: 项目改为使用 https 协议,访问时发现返回错误代码: 域名:https://sandbox.api.xxx.com 错误:SSL handshake aborted: ssl=0x5ef8e720: I/O error during system call, Connection reset by peer 错误描述:https 在使用 ssl 时候

Type Syntax error, insert &quot;)&quot; to complete Expression

今天倒持了 几个小时! 愣是 没有明白 ,为什么我的JSP的第一行没有代码?  还是报错! 错误是: Description Resource Path Location Type Syntax error, insert ")" to complete Expression left.jsp /qyrs/WebRoot/admin/iframe line 1 Client-side JavaScript Problem 翻译: 描述资源路径位置类型语法错误,插入")&quo

AndroidStudio 更新gradle Error:Failed to complete Gradle execution. Cause: Connection reset

Android Studio 报错:Error:Failed to complete Gradle execution.  Cause: Connection reset.把最新可以运行的项目中gradle文件复制到要导入的项目中,进行替换,导入成功后重新clean一下,即可运行. 我又利用上面的方法导入了以前的另一项目,居然有报错: Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.and

JSP页面报错:Syntax error, insert &quot;}&quot; to complete MethodBody

我的JSP页面报的Syntax error, insert "}" to complete MethodBody的错究竟是哪的错呢 其实这并不是代码的错,而是JS语法编译的问题,很简单--添加单引号就解决问题了. 原来我是这样写的jQuery

jsp页面第一句话报这个错Syntax error, insert &quot;}&quot; to complete

前段时间做了个项目jsp页面出现了Syntax error, insert "}" to complete错误,是说少了个"}"花括号,错误是在第一行,删了第一行还是会有,错误也不影响运行! 后来发现是一个函数的参数(这个参数是EL表达式),少了单引号造成的! 看下图: 1 2 3 4 6 EL表达式外面加上''保存就OK了