Ad Widget

Collapse

Error with agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • antani
    Member
    • Apr 2008
    • 50

    #1

    Error with agent

    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
    Senior Member
    • Apr 2006
    • 268

    #2
    Can you telnet from the server to the agent on port 10050?

    Comment

    • antani
      Member
      • Apr 2008
      • 50

      #3
      Originally posted by swaterhouse
      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?
      Code:
      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
              ;;
      Last edited by antani; 06-05-2008, 15:59.

      Comment

      • krisdv
        Junior Member
        • Apr 2008
        • 9

        #4
        Originally posted by swaterhouse
        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?

        Comment

        Working...