Zabbix can't get value from Agent (Interrupted system call)

Ilmārs Geiba picture Ilmārs Geiba · Feb 3, 2014 · Viewed 58.4k times · Source

I have problem with the setup of zabbix agent on my Ubuntu 10.04 (lucid) server. I have zabbix server on other server and I configured hosts in server and agent how it should be (used zabbix manual), but Zabbix server cannot connect to agent and gives error:

Get value from agent failed: cannot connect to [[{server IP where is agent}]:10050]: [4] Interrupted system call

Server doesn't have a firewall that can create this problem and port is opened.

I very apreciate any help!

Answer

Michael Tabolsky picture Michael Tabolsky · Feb 4, 2014

Interrupted system call - I've seen these in zabbix when connections are timed out. tcpdump is your best friend in this case. On the agent host, tcpdump -i any -n tcp port 10050 and see if you get incoming packets, if not, then there is something between the boxes or you don't have proper routing between the boxes or the host configuration in server has wrong IP. If instead you see incoming packets but not outgoing, then you do have a local firewall (iptables). Finally, if you see both incoming and outgoing, then you have to check on the server side if the response from agent gets there. If it does, then, finally, it is a strange situation.