zabbix-client abruptly closes connection with zabbix server on localhost in squeeze
Hi,
I am running
root@zabbix-squeeze:~# dpkg -l |grep zabbix
ii zabbix-agent 1:1.8.2-1squeeze2
network monitoring solution - agent
ii zabbix-frontend-php 1:1.8.2-1squeeze2
network monitoring solution - PHP front-end
ii zabbix-server-mysql 1:1.8.2-1squeeze2
network monitoring solution - server (using MySQL)
with
zabbix-squeeze 2.6.32-5-xen-amd64 #1 SMP Tue Jun 14 12:46:30 UTC 2011
x86_64 GNU/Linux
on AWS with an AMI provided by Rightscale.
These are the repositories I use.
=======
root@zabbix-squeeze:~# cat /etc/apt/sources.list
deb http://mirror.nus.edu.sg/Debian squeeze main contrib non-free
deb-src http://mirror.nus.edu.sg/Debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
==========
When I enabled monitoring for localhost on the zabbix-server I get
these error messages in the zabbix-server.log file.
========
1179:20110826:164531.270 Item [Zabbix Server:agent.ping] error: Got
empty string from [127.0.0.1]. Assuming that agent dropped connection
because of access permissions
==============
Zabbix Agent listens on port 10050
=========
root@zabbix-squeeze:~# netstat -ntpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 0.0.0.0:25 0.0.0.0:*
LISTEN 1086/master
tcp 0 0 0.0.0.0:10050 0.0.0.0:*
LISTEN 2780/zabbix_agentd
tcp 0 0 0.0.0.0:49858 0.0.0.0:*
LISTEN 494/rpc.statd
tcp 0 0 0.0.0.0:10051 0.0.0.0:*
LISTEN 1120/zabbix_server
tcp 0 0 127.0.0.1:3306 0.0.0.0:*
LISTEN 858/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN 482/portmap
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN 1101/sshd
tcp6 0 0 :::80 :::*
LISTEN 463/apache2
tcp6 0 0 :::22 :::*
LISTEN 1101/sshd
=======================
and the zabbix-agentd configuration is..
=========
root@zabbix-squeeze:~# grep -v "#" /etc/zabbix/zabbix_agentd.conf
Server=localhost
Hostname=localhost
StartAgents=5
DebugLevel=3
PidFile=/var/run/zabbix-agent/zabbix_agentd.pid
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
Timeout=3
=========================
Telneting to localhost port 10050 ends the connection abruptly.
=========
root@zabbix-squeeze:~# telnet localhost 10050
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
==========================
What could be the trouble?
Thanks
--Siju
Reply to: