Ad Widget

Collapse

Zabbix agent not responding to any requests other than 127.0.0.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MTWiley
    Junior Member
    • Jul 2011
    • 16

    #1

    Zabbix agent not responding to any requests other than 127.0.0.1

    Zabbix Agent and Server Version 2.0.0
    CentOS 6.3

    Zabbix Server is .33 and Linux Server I'm trying to monitor is .38

    On the Linux server that I'm trying to install the Zabbix Agent I run the following commands and get the following results:

    Code:
    [root@host zabbix_get]# ./zabbix_get -s 127.0.0.1 -p 10050 -k agent.version
    2.0.0
    And that works just fine.

    Code:
    [root@host zabbix_get]# ./zabbix_get -s 192.168.0.38 -p 10050 -k agent.version
    And it create a line feed as the response, but that's it and it does the same thing if I do a zabbix_get from the zabbix server. From the zabbix web front end it displays the following error:

    Received empty response from Zabbix Agent at [192.168.0.38]. Assuming that agent dropped connection because of access permission
    A bit of searching makes the issue seem simple enough and from what I've found it's normally a just a matter of changing the server option in /etc/zabbix/zabbix_agentd.conf and restarting the service.

    Unfortunatley that hasn't resolved the issue. I've tried changing the server option and restarting the service but I get the same results. I've even tried changing the debugging to level 4 and still just get the standard:

    Code:
     17777:20130121:041242.851 Starting Zabbix Agent [Zabbix server]. Zabbix 2.0.0 (revision 27675).
     17778:20130121:041242.856 agent #0 started [collector]
     17779:20130121:041242.856 agent #1 started[listener]
     17780:20130121:041242.857 agent #2 started[listener]
     17781:20130121:041242.857 agent #3 started[listener]
     17782:20130121:041242.857 agent #4 started [active checks]
    I've even gone so far as to try changing the listening IP and/or port and got the same results. Any and all advice/tips/tricks/etc would be greatly appreciated.


    Turns out I needed to be editing

    /usr/local/zabbix/etc/zabbix_agentd.conf not /etc/zabbix_agentd.conf.
    Last edited by MTWiley; 22-01-2013, 00:37. Reason: SOLVED.
Working...