【问题标题】:Zabbix active agent can't connect to Zabbix server - connection was forcibly closed by the remote hostZabbix active agent 无法连接到 Zabbix server - 连接被远程主机强行关闭
【发布时间】:2020-08-06 09:25:25
【问题描述】:

我已经在其他服务器上使用了活动代理,一切都非常好。我已经在新服务器上安装了 Zabbix 代理,并且设置了与其他活动代理相同的配置。问题是我的代理无法连接到服务器。

日志:

End of zbx_tls_connect():FAIL error:'SSL_connect() I/O error: [0x00002746] An existing connection was forcibly closed by the remote host.'

active check configuration update from [hidden_address:10051] started to fail (TCP successful, cannot establish TLS to [[hidden_address]:10051]: SSL_connect() I/O error: [0x00002746] An existing connection was forcibly closed by the remote host.)

End of refresh_active_checks():FAIL

我确信 PSK 密钥和 ID 在代理和服务器中设置正确。我的配置(适用于其他代理):

LogFile=C:\Zabbix\zabbix_agentd.log
DebugLevel=5
Server=hidden_address
ListenPort=10051
Hostname=hidden_name
ServerActive=hidden_address
EnableRemoteCommands=1

TLSConnect=psk
TLSAccept=psk
TLSPSKFile=C:\Zabbix\conf\client.txt
TLSPSKIdentity=hidden_id 

端口在两边都打开了,我用 Powershell 中的 Test-NetConnection 检查了我可以在指定端口 (10051) 上从代理连接到服务器。

知道我还能检查或尝试做些什么来解决问题吗?

【问题讨论】:

    标签: windows-server-2012-r2 zabbix


    【解决方案1】:

    检查网络界面上主机的加密选项设置。

    C:\Zabbix\conf\client.txt 上的内容必须与网页和文件上的值相同

    【讨论】:

    • 值完全一样
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-30
    • 1970-01-01
    • 2021-05-12
    相关资源
    最近更新 更多