manager-agent报错 异常信息:Agent heartbeat failed too many times

Viewed 9

manager-agent报错 异常信息:Agent heartbeat failed too many times
image.png

排查正常:

[root@lhrdoris /]# netstat -tulnp | grep 8972
tcp6       0      0 :::8972                 :::*                    LISTEN      2663/agent          
[root@lhrdoris /]# ps -ef | grep 2663
root        2663       1  0 Aug12 ?        00:07:46 /soft/manager-agent/lib/agent --config.file /soft/manager-agent/conf/agent.yaml
root      209854  209679  0 08:57 pts/2    00:00:00 grep --color=auto 2663
[root@lhrdoris /]# 
[root@lhrdoris /]# telnet 127.0.0.1 8972
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

HTTP/1.1 400 Bad Request
Content-Type: text/plain; charset=utf-8
Connection: close

400 Bad RequestConnection closed by foreign host.
[root@lhrdoris /]# 

[root@lhrdoris /]# curl http://127.0.0.1:8972/health
{
    "code": 0,
    "data": "ok"
}[root@lhrdoris /]# 

0 Answers