Hi everybody.
I have a problem related with the error “connection resset by peer”.
I have a zabbix server, a zabbix-proxy and the clients.
The scenario is as the image shows.
The sever is allocated in a different network as the proxy and the clients.
Zabbix server IP: 10.249.108.3
Zabbix proxy IP: 44.168.216.206
The configuration in the Zabbix proxy agentd.conf is this:
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
SourceIP=44.168.216.206
Server=10.249.108.3
ServerActive=10.249.108.3
Hostname=malnzabproxy01
Timeout=30
Include=/etc/zabbix/zabbix_agentd.d/*.conf
The configuration of zabbix proxy.conf is this:
Server=10.249.108.3
Hostname=malnzabproxy01
SourceIP=44.168.216.206
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_proxy.pid
SocketDir=/var/run/zabbix
DBName=zabbix_proxy
DBUser=zabbix
DBPassword=xxxxxxxxx
ProxyOfflineBuffer=4
HeartbeatFrequency=60
ConfigFrequency=600
StartPollers=50
StartPollersUnreachable=5
StartTrappers=15
StartPingers=5
StartDiscoverers=5
StartVMwareCollectors=10
VMwareCacheSize=128M
VMwareTimeout=30
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
HousekeepingFrequency=6
CacheSize=512M
HistoryCacheSize=128M
HistoryIndexCacheSize=128M
Timeout=30
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
StatsAllowedIP=44.168.216.206,10.249.108.3
The logs showthis:
Zabbix_proxy.log:
28449:20230120:094643.685 cannot send proxy data to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28449:20230120:094644.735 cannot send proxy data to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28434:20230120:094657.055 cannot send list of active checks to "44.168.216.180": host [pmasrv0-allianz] not found
28448:20230120:094659.068 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28448:20230120:094759.124 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28430:20230120:094857.081 cannot send list of active checks to "44.168.216.180": host [pmasrv0-allianz] not found
28448:20230120:094859.180 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28448:20230120:094959.237 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28430:20230120:095057.106 cannot send list of active checks to "44.168.216.180": host [pmasrv0-allianz] not found
28448:20230120:095059.292 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28448:20230120:095159.355 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
Zabbix-agent.log:
28726:20230118:132642.369 using configuration file: /etc/zabbix/zabbix_agentd.conf
28726:20230118:132642.369 agent #0 started [main process]
28727:20230118:132642.370 agent Home started [collector]
28728:20230118:132642.371 agent Forum started[listener #1]
28729:20230118:132642.372 agent #3 started[listener #2]
28731:20230118:132642.374 agent #5 started [active checks #1]
28730:20230118:132642.374 agent #4 started[listener #3]
28731:20230118:132642.426 active check configuration update from [10.249.108.3:10051] started to fail (ZBX_TCP_READ() failed: [104] Connection reset by peer)
The configuration of the Zabbix proxy network is this:
When I execute Zabbix_get command on zabbix server, it returns the correct value.
On the web console it shows me nothing
The first problem is that the proxy-server doesn't have eny information on the webconsole (as anoather server)
And the secod proble is that it doesn't work as a proxy server.
Any ideas about it?
I have a problem related with the error “connection resset by peer”.
I have a zabbix server, a zabbix-proxy and the clients.
The scenario is as the image shows.
The sever is allocated in a different network as the proxy and the clients.
Zabbix server IP: 10.249.108.3
Zabbix proxy IP: 44.168.216.206
The configuration in the Zabbix proxy agentd.conf is this:
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
SourceIP=44.168.216.206
Server=10.249.108.3
ServerActive=10.249.108.3
Hostname=malnzabproxy01
Timeout=30
Include=/etc/zabbix/zabbix_agentd.d/*.conf
The configuration of zabbix proxy.conf is this:
Server=10.249.108.3
Hostname=malnzabproxy01
SourceIP=44.168.216.206
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_proxy.pid
SocketDir=/var/run/zabbix
DBName=zabbix_proxy
DBUser=zabbix
DBPassword=xxxxxxxxx
ProxyOfflineBuffer=4
HeartbeatFrequency=60
ConfigFrequency=600
StartPollers=50
StartPollersUnreachable=5
StartTrappers=15
StartPingers=5
StartDiscoverers=5
StartVMwareCollectors=10
VMwareCacheSize=128M
VMwareTimeout=30
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
HousekeepingFrequency=6
CacheSize=512M
HistoryCacheSize=128M
HistoryIndexCacheSize=128M
Timeout=30
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
StatsAllowedIP=44.168.216.206,10.249.108.3
The logs showthis:
Zabbix_proxy.log:
28449:20230120:094643.685 cannot send proxy data to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28449:20230120:094644.735 cannot send proxy data to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28434:20230120:094657.055 cannot send list of active checks to "44.168.216.180": host [pmasrv0-allianz] not found
28448:20230120:094659.068 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28448:20230120:094759.124 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28430:20230120:094857.081 cannot send list of active checks to "44.168.216.180": host [pmasrv0-allianz] not found
28448:20230120:094859.180 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28448:20230120:094959.237 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28430:20230120:095057.106 cannot send list of active checks to "44.168.216.180": host [pmasrv0-allianz] not found
28448:20230120:095059.292 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
28448:20230120:095159.355 cannot send heartbeat message to server at "10.249.108.3": ZBX_TCP_READ() failed: [104] Connection reset by peer
Zabbix-agent.log:
28726:20230118:132642.369 using configuration file: /etc/zabbix/zabbix_agentd.conf
28726:20230118:132642.369 agent #0 started [main process]
28727:20230118:132642.370 agent Home started [collector]
28728:20230118:132642.371 agent Forum started[listener #1]
28729:20230118:132642.372 agent #3 started[listener #2]
28731:20230118:132642.374 agent #5 started [active checks #1]
28730:20230118:132642.374 agent #4 started[listener #3]
28731:20230118:132642.426 active check configuration update from [10.249.108.3:10051] started to fail (ZBX_TCP_READ() failed: [104] Connection reset by peer)
The configuration of the Zabbix proxy network is this:
When I execute Zabbix_get command on zabbix server, it returns the correct value.
On the web console it shows me nothing
The first problem is that the proxy-server doesn't have eny information on the webconsole (as anoather server)
And the secod proble is that it doesn't work as a proxy server.
Any ideas about it?
Comment