I've recently got a zabbix server installed.
And in the local network it seems to be working perfectly.
But I cannot get it to monitor our servers in the datacenter which are not in the local network.
I've done the following :
Created port mappings for 10051 and 10050 on both the server and the client.
Firewall states the following :
Jun 4 20:27:46 id=firewall.nl time="2008-06-04 18:27:46" fw="51005636" pri=5 msg="Open inbound, NAT tunnel" proto=10050/tcp src=zabbixserverip srcport=58194 nat=ourclientipexternal natport=10050 dst=ourclientipinternal dstport=10050 rule=4
Jun 4 20:27:46 id=firewall.nl time="2008-06-04 18:27:46" fw="51005636" pri=5 msg="Close inbound, NAT tunnel" proto=10050/tcp src=ourclientipexternal srcport=58194 nat=ourclientip natport=10050 dst=ourclientipinternal dstport=10050 rule=4 duration=0 sent=175 rcvd=104 pkts_sent=3 pkts_rcvd=2
Jun 4 20:28:16 id=firewall.nl time="2008-06-04 18:28:16" fw="51005636" pri=5 msg="Open outbound, NAT" proto=10051/tcp src=clientipinternal srcport=2645 nat=ourclientipexternal natport=2645 dst=zabbixserver dstport=10051 rule=5
Jun 4 20:28:40 id=firewall.nl time="2008-06-04 18:28:40" fw="51005636" pri=5 msg="Close outbound, NAT" proto=10051/tcp src=ourclientipinternal srcport=2645 nat=ourclientipexternal natport=2645 dst=zabbixserverip dstport=10051 rule=5 duration=24 sent=294 rcvd=260 pkts_sent=6 pkts_rcvd=6
In other words there is traffic being sent back and forth. From the logs I see that the client is closing the connection or something?
I've tried binding the agent.conf settings to the internalclient ip and external client ip. And not binding it all. both no go.
Restarted the server and the service, ran the exe files in the zabbix server dir.
Using Zabbix 1.4.5 btw and the agent too. OS is windows server 2003 with NO FIREWALL enabled.
Anybody know what's wrong? I can ping and resolve the ip from the zabbix server btw.
edit: logs from the server say :
3387:20080605:100105 Get value from agent failed. Error: ZBX_TCP_READ() failed [Connection reset by peer]
3387:20080605:100105 Host [Lapaz] will be checked after 60 seconds
And in the local network it seems to be working perfectly.
But I cannot get it to monitor our servers in the datacenter which are not in the local network.
I've done the following :
Created port mappings for 10051 and 10050 on both the server and the client.
Firewall states the following :
Jun 4 20:27:46 id=firewall.nl time="2008-06-04 18:27:46" fw="51005636" pri=5 msg="Open inbound, NAT tunnel" proto=10050/tcp src=zabbixserverip srcport=58194 nat=ourclientipexternal natport=10050 dst=ourclientipinternal dstport=10050 rule=4
Jun 4 20:27:46 id=firewall.nl time="2008-06-04 18:27:46" fw="51005636" pri=5 msg="Close inbound, NAT tunnel" proto=10050/tcp src=ourclientipexternal srcport=58194 nat=ourclientip natport=10050 dst=ourclientipinternal dstport=10050 rule=4 duration=0 sent=175 rcvd=104 pkts_sent=3 pkts_rcvd=2
Jun 4 20:28:16 id=firewall.nl time="2008-06-04 18:28:16" fw="51005636" pri=5 msg="Open outbound, NAT" proto=10051/tcp src=clientipinternal srcport=2645 nat=ourclientipexternal natport=2645 dst=zabbixserver dstport=10051 rule=5
Jun 4 20:28:40 id=firewall.nl time="2008-06-04 18:28:40" fw="51005636" pri=5 msg="Close outbound, NAT" proto=10051/tcp src=ourclientipinternal srcport=2645 nat=ourclientipexternal natport=2645 dst=zabbixserverip dstport=10051 rule=5 duration=24 sent=294 rcvd=260 pkts_sent=6 pkts_rcvd=6
In other words there is traffic being sent back and forth. From the logs I see that the client is closing the connection or something?
I've tried binding the agent.conf settings to the internalclient ip and external client ip. And not binding it all. both no go.
Restarted the server and the service, ran the exe files in the zabbix server dir.
Using Zabbix 1.4.5 btw and the agent too. OS is windows server 2003 with NO FIREWALL enabled.
Anybody know what's wrong? I can ping and resolve the ip from the zabbix server btw.
edit: logs from the server say :
3387:20080605:100105 Get value from agent failed. Error: ZBX_TCP_READ() failed [Connection reset by peer]
3387:20080605:100105 Host [Lapaz] will be checked after 60 seconds
Comment