PDA

View Full Version : Zabbix agent communication problems


dsipe
01-02-2007, 17:09
I found the following inside the zabbix_agentd.log of my Zabbix client.


1179818:20070201:163933 Error in connect() [128.128.12.11:10051] [Connection refused]
1179818:20070201:164034 Error in connect() [128.128.12.11:10051] [Connection refused]
1179818:20070201:164135 Error in connect() [128.128.12.11:10051] [Connection refused]
1179818:20070201:164236 Error in connect() [128.128.12.11:10051] [Connection refused]
1179818:20070201:164337 Error in connect() [128.128.12.11:10051] [Connection refused]
1179818:20070201:164438 Error in connect() [128.128.12.11:10051] [Connection refused]
1179818:20070201:164539 Error in connect() [128.128.12.11:10051] [Connection refused]
1179818:20070201:172530 Connection reset by peer.
1179818:20070201:172530 Getting list of active checks failed. Will retry after 60 seconds


I don't understand why the Zabbix server refused connections.
How can i investigate ?

James Wells
01-02-2007, 17:16
Greetings,
I don't understand why the Zabbix server refused connections.
How can i investigate ?
Right off the bat, I suspect you have either changed the server's port, in the zabbix_serverd.conf file, or your Zabbix server is not running. If it is running and the server's port is set to 10051, try to telnet to it from one of your agent machines using telnet <Zabbix Server IP> 10051. If this fails, most likely you have a firewall setting which is rejecting new connections against this port.

dsipe
01-02-2007, 19:49
This was working before, and i haven't modify anything on the server !

A telnet from the Agent server :
^Croot@UXVETU01 /exploit/log/ZBX >telnet 128.128.12.11 10051
Trying...
telnet: connect: Connection refused


On the server, the following processes are running :

zabbix 5798 1 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5800 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5801 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5803 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5805 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5807 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5808 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5809 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5812 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5814 5798 0 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_server.conf
zabbix 5816 5798 1 20:15 ? 00:00:00 /softs/zabbix/bin/zabbix_server -c /softs/zabbix/conf/zabbix_serv


and the conf file of the server look like this :


# Listen port for trapping. Default port number is 10051. This parameter
# must be between 1024 and 32767

ListenPort=10051

# How often ZABBIX will perform housekeeping procedure
# (in hours)
# Default value is 1 hour

James Wells
01-02-2007, 22:11
I would try to bounce the zabbix server. If it still fails ensure that you do not have a firewall or iptables issue.

dsipe
01-02-2007, 23:40
it start working fine again after killing all the zabbix server processes and launching them again....

so strange things with this 1.1.5