试图从我的nagios服务器获得Windows主机的活动检查。此时,我甚至不使用nagios,而只是从命令行运行check_nt。
check_nt -H 10.10.5.200 -p 12489 -v CLIENTVERSION[root@nagioshost]# /usr/lib64/nagios/plugins/check_nt -H 10.10.5.200 -p 12489 -v CLIENTVERSION
No data was received from host!
could not fetch information from server运行'nscp测试‘的
D nrpe Accepting connection from: 10.10.7.101, count=1
E nrpe Failed to establish secure connection: short read: 219
c:\source\nscp\include\socket/connection.hpp:243[/settings/default]
password = Me0zf92h7f
allowed hosts = 10.10.7.101
[/settings/NRPE/server]
verify mode = none
port = 12489
insecure = true
[/modules]
CheckExternalScripts = 1
CheckHelpers = 1
CheckEventLog = 1
CheckNSCP = 1
CheckDisk = 1
CheckSystem = 1
NRPEServer = 1发布于 2016-01-19 07:16:15
check_nrpe代表NRPEServer,check_nt代表NSCLientServer
因此,您需要将您的配置移到NSClientServer模块上,以便check_nt工作,或者更好地停止使用check_nt并转移到check_nrpe*。
[/settings/default]
password = Me0zf92h7f
allowed hosts = 10.10.7.101
[/settings/NSClient/server]
port = 12489
[/modules]
CheckExternalScripts = 1
CheckHelpers = 1
CheckEventLog = 1
CheckNSCP = 1
CheckDisk = 1
CheckSystem = 1
NSClientServer = 1https://serverfault.com/questions/749681
复制相似问题