Ad Widget

Collapse

Zabbix-server empty response

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • itimeheke
    Junior Member
    • Jan 2014
    • 1

    #1

    Zabbix-server empty response

    Just installed Zabbix 2.2 to my Ubuntu 12.04 server on OpenVZ container.
    But server always return nothing. For example:
    Code:
    root@parim:~# zabbix_get -s 127.0.0.1 -p 10051 -k agent.version
    
    root@parim:~#
    I also tried it over telnet:
    Code:
    root@parim:~# telnet 127.0.0.1 10051
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    agent.version
    Connection closed by foreign host.
    root@parim:~#
    And neither does web interface work, i get an error "Received empty response from Zabbix Agent at [127.0.0.1]. Assuming that agent dropped connection because of access permissions."

    Also i tried different keys, like agent.ping, etc.
    Neither does log file show something useful, even if debugging level set to 4..

    Zabbix was installed like so:
    Code:
    # wget http://repo.zabbix.com/zabbix/2.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.2-1+precise_all.deb
    # dpkg -i zabbix-release_2.2-1+precise_all.deb
    # apt-get update
    as showed in zabbix documentation.

    My /etc/zabbix/zabbix_server.conf looks like this:
    Code:
    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    DebugLevel=3
    PidFile=/var/run/zabbix/zabbix_server.pid
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix #Tested mysql connection with this user/pass, works
    DBPassword=5Zzni5BW4jq9pMY7hKVc
    DBSocket=/var/run/mysqld/mysqld.sock
    ListenIP=127.0.0.1
    AlertScriptsPath=/usr/lib/zabbix/alertscripts
    ExternalScripts=/usr/lib/zabbix/externalscripts
    FpingLocation=/usr/bin/fping
    Fping6Location=/usr/bin/fping6
    Just in case, my log file: http://pastebin.com/ZQS83P7h

    Cheers!
  • pc99096
    Senior Member
    • Oct 2011
    • 193

    #2
    try changing
    ListenIP=127.0.0.1
    to "regular" IP

    Comment

    Working...