PDA

View Full Version : Proxy talking to server problem


Wokwon
19-08-2009, 06:35
I have a Zabbix 1.6.5 server at my office which is monitoring the infrastructure correctly.

At another site I have deployed a Zabbix 1.6.5 proxy server.

The proxy shows up in the console (Configuration -> Hosts -> Proxies) as last seen some time ago and every now and then the time goes to zero so I assume the server can at least communicate with the proxy.

The proxy log continually reports:
Unable connect to the server [server]:10051 [Cannot connect to [server:10051] [Interrupted system call]]

I can telnet to the server from the proxy on port 10051 successfully (i get a blank telnet window so I assume that this is OK)

The agents that report to the proxy never end up with any data on the server (the items for those agents all show "-")

The proxy log also shows:
Error while receiving answer from server [ZBX_TCP_READ() failed [Interrupted system call]]
--and--
Heartbeat message failed


I am at a loss of what to check next.

richlv
20-08-2009, 18:42
just for some possible cause elimination, can you try active agent items on that host ?
do you see any errors in the server log as well ?

pedmond
16-02-2010, 13:00
Hi Richlv,

I've got the same problem on a 1.8.2 revision 9779. Would you have a solution ?

Thank you !

Pedmond

syntaxcollector
22-06-2010, 21:52
I have the exact same problem. Has anyone figured this out yet?

tof233
26-11-2010, 11:41
Hello everybody,

I have a problem setting up the proxy with zabbix 1.8 :
I installed a proxy on a server 192.168.10.27 .
It should connect to zabbix_server 192.168.10.26 .


On the zabbix_server log file I got,
Autoregistration data from active proxy on [::ffff:192.168.10.27] failed: proxy [svimocavl007] not found

On the zabbix_log, I got :
8745:20101126:113422.238 In send_heartbeat()
28745:20101126:113422.238 In connect_to_server() [192.168.10.26]:10051 [timeout:60]
28745:20101126:113422.239 In put_data_to_server() datalen:55
28745:20101126:113422.239 In send_data_to_server() [{
"request":"proxy heartbeat",
"host":"svimocavl007"}]
28745:20101126:113422.239 In zbx_recv_response()
28745:20101126:113422.241 zbx_recv_response() ''
28745:20101126:113422.241 End of zbx_recv_response():FAIL
28745:20101126:113422.241 End of put_data_to_server():FAIL
28745:20101126:113422.241 Heartbeat message failed


I don't understand why the server says: "proxy [svimocavl007] not found". I didn't find a place on the server web interface to register the proxy. So I assume it should be auto registrated by the zabbix_server.

richlv
26-11-2010, 11:54
administration -> dm -> proxies

tof233
26-11-2010, 11:56
Thank you richlv but it says :

Your setup is not configured for distributed monitoring

Edit ->
Oops, it's in the documentation: http://www.zabbix.com/documentation/1.8/manual/distributed_monitoring

Thank you

richlv
26-11-2010, 12:04
no - see the dropdown in the upper right corner, it should have an option "proxies" :)

tof233
26-11-2010, 12:13
You're right

{"response":"success"}
Youpie!!!


Thanks to you a new Zabbix heart just started beating :D