Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

how to detected HeartBeat Lost state between ambari agent to ambari server

avatar

we want to find the **approach / test /cli / API** that gives us the results about HeartBeat Lost between Ambari agent to Ambari server

HeartBeat Lost could be as results of poor connection between Ambari agent to Ambari server or because Ambari server was down for along time , etc

 

Note - from Ambari GUI the machine with **HeartBeat Lost** state usually colored by yellow state

 

 

 

 

clarification:

 

 

the case as described here appears when `ambari-agent status` is in running state as the following

ambari-agent status
Found ambari-agent PID: 119315
ambari-agent running.
Agent PID at: /run/ambari-agent/ambari-agent.pid
Agent out at: /var/log/ambari-agent/ambari-agent.out
Agent log at: /var/log/ambari-agent/ambari-agent.log

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Master Collaborator

The following areas normally cause this problem:

1) the connection from Ambari agent host to Ambari Server got lost.
2) firewall issue blocked connections.
3) hostname and IP address are not being set correctly in /etc/hosts

 

You can compare the output using these APIs:

curl ­u user:paswd http://AmbariHost:8080/api/v1/hosts

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

The following areas normally cause this problem:

1) the connection from Ambari agent host to Ambari Server got lost.
2) firewall issue blocked connections.
3) hostname and IP address are not being set correctly in /etc/hosts

 

You can compare the output using these APIs:

curl ­u user:passwd http://AmbariHost:8080/api/v1/hosts

avatar
Master Collaborator

The following areas normally cause this problem:

1) the connection from Ambari agent host to Ambari Server got lost.
2) firewall issue blocked connections.
3) hostname and IP address are not being set correctly in /etc/hosts

 

You can compare the output using these APIs:

curl ­u user:paswd http://AmbariHost:8080/api/v1/hosts