<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ambari agent health in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-agent-health/m-p/164767#M24923</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5086/jabirahmed.html" nodeid="5086"&gt;@jabir ahmed&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;I think there is no api for ambari-agent health checkup - only you can see agent installation status using ambari api as mentioned -&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Installing+ambari-agent+on+target+hosts" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Installing+ambari-agent+on+target+hosts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might need to write custom script for the same.&lt;/P&gt;&lt;P&gt;Monitoring tools like nagios can track this.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2016 21:07:26 GMT</pubDate>
    <dc:creator>sshimpi</dc:creator>
    <dc:date>2016-04-11T21:07:26Z</dc:date>
    <item>
      <title>ambari agent health</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-agent-health/m-p/164766#M24922</link>
      <description>&lt;P&gt;Is there some api / endpoint exposed on the ambari agent that i can use to check if ambari agent is up / healthy &amp;amp; collect some stats&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 20:56:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-agent-health/m-p/164766#M24922</guid>
      <dc:creator>jabirahmed</dc:creator>
      <dc:date>2016-04-11T20:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: ambari agent health</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-agent-health/m-p/164767#M24923</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5086/jabirahmed.html" nodeid="5086"&gt;@jabir ahmed&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;I think there is no api for ambari-agent health checkup - only you can see agent installation status using ambari api as mentioned -&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Installing+ambari-agent+on+target+hosts" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Installing+ambari-agent+on+target+hosts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might need to write custom script for the same.&lt;/P&gt;&lt;P&gt;Monitoring tools like nagios can track this.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 21:07:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-agent-health/m-p/164767#M24923</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-04-11T21:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: ambari agent health</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-agent-health/m-p/164768#M24924</link>
      <description>&lt;P&gt;Each host has its own endpoint: api/v1/clusters/&amp;lt;clusterName&amp;gt;/hosts/&amp;lt;hostName&amp;gt;&lt;/P&gt;&lt;P&gt;From this, you can look at various parts of the JSON response:&lt;/P&gt;&lt;PRE&gt;"host_state": "HEALTHY",
"host_status": "HEALTHY",
"ip": "192.168.64.103",
"last_agent_env": {},
"last_heartbeat_time": 1460383979229,
"last_registration_time": 1460135920315,&lt;/PRE&gt;&lt;P&gt;The state will move from HEALTHY to HEARTBEAT_LOST (or something else like UNHEALTHY) when an agent can't communicate. Also, there is a host heartbeat alert (called Ambari Agent Heartbeat) which you can leverage to send emails or SNMP traps when the server can't communicate with an agent.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 21:18:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-agent-health/m-p/164768#M24924</guid>
      <dc:creator>jonathanhurley</dc:creator>
      <dc:date>2016-04-11T21:18:51Z</dc:date>
    </item>
  </channel>
</rss>

