Ad Widget

Collapse

Linux Agent issue "Received empty response from Zabbix Agent"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • XKaliber
    Junior Member
    • Jun 2012
    • 8

    #1

    Linux Agent issue "Received empty response from Zabbix Agent"

    After installing Linux Agent in CentOS VM virtual host, I recieve the following message in Zabbix server:

    Received empty response from Zabbix Agent at [10.1.68.105]. Assuming that agent dropped connection because of access permissions
    from the log showing services are running:
    15237:20120616:162041.559 Starting Zabbix Agent [Zabbix server]. Zabbix 2.0.0 (revision 27675).
    15238:20120616:162041.601 agent #0 started [collector]
    15239:20120616:162041.603 agent #1 started[listener]
    15240:20120616:162041.604 agent #2 started[listener]
    15241:20120616:162041.605 agent #3 started[listener]
    15242:20120616:162041.605 agent #4 started [active checks]
    This is my iptables configuration and me turning it off to see if its the problem:

    [root@localhost ~]# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
    ACCEPT icmp -- anywhere anywhere
    ACCEPT all -- anywhere anywhere
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s sh
    ACCEPT tcp -- 10.1.68.110 anywhere tcp dpt:zabbix-agen t
    REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    [root@localhost ~]# service iptables stop
    iptables: Flushing firewall rules: [ OK ]
    iptables: Setting chains to policy ACCEPT: nat mangle filte[ OK ]
    iptables: Unloading modules: [ OK ]
    parts of .conf

    # Default:
    DebugLevel=4
    # Default:
    # Server=

    Server=10.1.68.110
    # ServerActive=

    ServerActive=10.1.68.110
    # Hostname=

    Hostname=CentOS6
    # Default:
    # HostnameItem=system.hostname
    Hostname is CentOS6 on server and ip addresses are correct. I have a Windows agent installed on another vm and it is successfully communicating.

    IP for server: 10.1.68.110
    IP for CentOS: 10.1.68.105

    24 bit masks. I can ping
    [root@localhost ~]# ping 10.1.68.110
    PING 10.1.68.110 (10.1.68.110) 56(84) bytes of data.
    64 bytes from 10.1.68.110: icmp_seq=1 ttl=64 time=0.782 ms
    64 bytes from 10.1.68.110: icmp_seq=2 ttl=64 time=0.323 ms
    64 bytes from 10.1.68.110: icmp_seq=3 ttl=64 time=0.280 ms
    and ssh.

    Any help would be appreciated. I'm at a loss. Thanks!
  • rodrigaos
    Junior Member
    • Jun 2012
    • 7

    #2
    I've the same problem

    I installed yesterday the Zabbix 2.0, but it's occurrs the same problem. Any Can help us?

    Comment

    • artsangel
      Junior Member
      • Jun 2012
      • 5

      #3
      Double check your zabbix_agentd.conf file and make sure you have the correct Server variable configured for your zabbix server URL/IP.

      Comment

      • rodrigaos
        Junior Member
        • Jun 2012
        • 7

        #4
        I resolved!!!!!

        artsangel Good Afternoon,

        I hapenned fix the problem. This exactly that you say. I rewrite the file zabbix_agentd.conf in the directory /usr/local and fixed my problem.

        Thank You !!

        Comment

        • venuz
          Junior Member
          • Aug 2012
          • 1

          #5
          Received empty response from Zabbix Agent

          Even after configuring everything properly i'm unable to make an agent connection proper.
          Error: Z icon is red in color and when i click i get the following error.

          Received empty response from Zabbix Agent at [ip] . Assuming that agent dropped connection because of access permission

          Comment

          • Nux
            Junior Member
            • May 2018
            • 4

            #6
            You must modify `Server=127.0.0.1` in `etc/zabbix/zabbix_agentd.conf`. That's the list of IP addresses that can connect to the agent. So you need to add IP of your server e.g.:
            Server=127.0.0.1,192.168.0.123

            Comment

            Working...