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!
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.