【发布时间】: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