nagios跟不同版本的nagios-nrpe-server 之间的通讯

debian12的nagios4服务器, 调用远程的debian8的nagios-nrpe-server时,会提示错误:
CHECK_NRPE STATE CRITICAL: Socket timeout after 10 seconds. 

check_command 要加-n参数, 关闭ssl ,就可以了

check_command check_nrpe!check_disk -n

如果出现如下错误:

CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected). 

那么, 把-n去掉, 开启ssl