PDA

View Full Version : Error with agent


antani
06-05-2008, 11:30
From /var/log/zabbix/zabbix_agentd.log

30780:20080506:111754 zabbix_agentd active check started [my.server.com:10051]
30780:20080506:111754 Getting list of active checks failed. Will retry after 60 seconds

From configuration file:

Server=my.server.com
ServerPort=10051
Hostname=my.monitored.com
StartAgents=5
DebugLevel=3
PidFile=/var/run/zabbix/agentd.pid
LogFile=/var/log/zabbix/agentd.log

What happens? I can telnet server to the 10051. server version 1.4.5. agent version 1.4.4

swaterhouse
06-05-2008, 14:06
Can you telnet from the server to the agent on port 10050?

antani
06-05-2008, 15:18
Can you telnet from the server to the agent on port 10050?

Nope. zabbix is listening on 10051

Checked also in another host:

added user zabbix
./configure --enable-agent
make
cp zabbix_agentd.conf /usr/bin
cp misc/init.d/zabbix /etc/init.d/zabbix (changing path reference)
configured /etc/zabbix/zabbix_agentd.conf using misc/zabbix_agentd as model
same error as above

maybe /etc/init.d/zabbix has some error?

NAME=zabbix_agentd
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin
DAEMON=/usr/bin/${NAME}
DESC="Zabbix agent daemon"
PID=/var/tmp/$NAME.pid

test -f $DAEMON || exit 0

set -e

case "$1" in
start)
echo "Starting $DESC: $NAME"
start-stop-daemon --oknodo --start --pidfile $PID \
--exec $DAEMON
;;

krisdv
06-05-2008, 17:13
Can you telnet from the server to the agent on port 10050?

I can telnet server => agent on port 10050 and agent => server on port 10051 but still get the error. What could be the reason?