Ad Widget

Collapse

Receive empty response, agent dropped connction because of access permission

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanq
    Junior Member
    • Apr 2021
    • 15

    #1

    Receive empty response, agent dropped connction because of access permission

    Hello, Users.

    my zabbix agent cannot communicate with zabbix server

    please help me solve the problem.



    1. Symptom
    Click image for larger version

Name:	zabbix.png
Views:	723
Size:	13.7 KB
ID:	425030


    2. agentd.conf settings
    Code:
    [root@dcsveloce01 yum.repos.d]# cat /etc/zabbix/zabbix_agentd.conf |egrep -v '^[[:space:]]*(#.*)?$'
    PidFile=/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    Server=127.0.0.1, <server_ip>
    ServerActive=127.0.0.1
    Hostname=dcsveloce01


    3. zabbixlog status
    Click image for larger version

Name:	zabbix2.png
Views:	663
Size:	42.9 KB
ID:	425031


    4. zabbix agent status
    Click image for larger version

Name:	zabbix4.png
Views:	696
Size:	52.1 KB
ID:	425032



    5. telnet (server side)
    [root@server ~]# telnet agent 10050
    Trying agent...
    Connected to agent.
    Escape character is '^]'.
    Connection closed by foreign host.



    6. telnet (agent side)
    [root@agent]# telnet server 10050
    Trying server...




    I wll be waiting for your comment

    give me a advice
    Attached Files
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    If it is not the Zabbix agent setting on Zabbix server, the Server and ServerActive settings in zabbix_agentd.conf are incorrect. Please specify the IP address of Zabbix server for both settings.

    Comment


    • sanq
      sanq commented
      Editing a comment
      i added ServerActive=<zabbix_server_ip>
      and it works....
      OMG I spent all day log to trouble shoot
      thanks!
Working...