首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >NSClient++拒绝连接或无法发送信息

NSClient++拒绝连接或无法发送信息
EN

Server Fault用户
提问于 2020-02-04 23:53:52
回答 1查看 985关注 0票数 0

我试图在Windows端点计算机上进行一些活动的检查,NSClient++在我的Windows上运行得很好,但是当涉及到检查任何端点时,我得到的唯一响应要么是could not fetch information from server,要么是CRITICAL - Socket timeout。我检查了我的防火墙、端点的防火墙和AV保护、Nagios服务器上的配置文件和nsclient.ini文件,这是我的ini文件的内容:

代码语言:javascript
复制
; Undocumented section
[/modules]

; NRPE server - A simple server that listens for incoming NRPE connection and handles them.
NRPEServer = enabled

; NSClient server - A simple server that listens for incoming NSClient (check_nt) connection and handles them. Although NRPE is the preferred method NSClient is fully supported and can be used for simplicity or for compatibility.
NSClientServer = enabled


; Undocumented section
[/settings/default]

; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
allowed hosts = 192.168.x.x

[/settings/NRPE/server]

; Undocumented key
verify mode = none

; Undocumented key
insecure = true

完整的文件可以找到这里

任何指导都将是非常有帮助和感激的。

EN

回答 1

Server Fault用户

发布于 2020-03-24 10:52:05

对于allowed hosts侦听器,NSClient值正确吗?这是一个常见的错误,因为您需要“白名单”谁可以调用它并运行命令。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1001817

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档