<?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 Ambari Metrics link (grafana) not available on HDP 2.5 sandbox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112389#M33826</link>
    <description>&lt;P&gt;The link is unavailable on hdp 2.5 sandbox.  Any ideas why?  What port is the dashboard available on so I can hit the url directly instead of going from ambari... Possible?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5479-2016-07-04-22-41-53.jpg" style="width: 1032px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23213i3C96DD6CD8AFFE3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5479-2016-07-04-22-41-53.jpg" alt="5479-2016-07-04-22-41-53.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 11:14:44 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2019-08-19T11:14:44Z</dc:date>
    <item>
      <title>Ambari Metrics link (grafana) not available on HDP 2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112389#M33826</link>
      <description>&lt;P&gt;The link is unavailable on hdp 2.5 sandbox.  Any ideas why?  What port is the dashboard available on so I can hit the url directly instead of going from ambari... Possible?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5479-2016-07-04-22-41-53.jpg" style="width: 1032px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23213i3C96DD6CD8AFFE3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5479-2016-07-04-22-41-53.jpg" alt="5479-2016-07-04-22-41-53.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:14:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112389#M33826</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2019-08-19T11:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Metrics link (grafana) not available on HDP 2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112390#M33827</link>
      <description>&lt;P&gt;@Sunile Manjee&lt;/P&gt;&lt;P&gt;Grafana is not yet installed on HDP2.5 technical preview. It will be installed and tested very soon. &lt;A rel="user" href="https://community.cloudera.com/users/527/rmolina.html" nodeid="527"&gt;@rmolina&lt;/A&gt;, please check out this.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 01:29:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112390#M33827</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-07-06T01:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Metrics link (grafana) not available on HDP 2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112391#M33828</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	You can enable Grafana on the Tech Preview with these steps..&lt;/P&gt;&lt;P&gt;
	Execute the first 2 steps inside SSH Web Client (http://127.0.0.1:4200). you will need to replace "admin:admin" with the username:password you chose and then replace "ambari.server" with 127.0.0.1 (or whichever host you've installed it on) and "cluster.name" with the name of the cluster "Sandbox" by default (case-sensitive). "host.name" for step#2 would most likely be "sandbox.hortonworks.com" unless you have changed it.&lt;/P&gt;&lt;OL&gt;
	&lt;LI&gt;Add the METRICS_GRAFANA component to Ambari:
	&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By:ambari" -i -X POST
&lt;A href="http://ambari.server:8080/api/v1/clusters/cluster.name/services/AMBARI_METRICS/components/METRICS_GRAFANA" target="_blank"&gt;http://ambari.server:8080/api/v1/clusters/cluster.name/services/AMBARI_METRICS/components/METRICS_GRAFANA&lt;/A&gt;
	&lt;/PRE&gt;
&lt;/LI&gt;	&lt;LI&gt;Add METRICS_GRAFANA to a host in the cluster.
	&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By:ambari" -i -X POST -d
'{"host_components":[{"HostRoles":{"component_name":"METRICS_GRAFANA"}}]}'
&lt;A href="http://ambari.server:8080/api/v1/clusters/cluster.name/hosts?Hosts/host_name=host.name" target="_blank"&gt;http://ambari.server:8080/api/v1/clusters/cluster.name/hosts?Hosts/host_name=host.name&lt;/A&gt;
	&lt;/PRE&gt;
&lt;/LI&gt;	&lt;LI&gt;From &lt;STRONG&gt;Ambari Web&lt;/STRONG&gt;, browse to &lt;STRONG&gt;Services &amp;gt; Ambari Metrics&lt;/STRONG&gt; and you will see Grafana is in the &lt;STRONG&gt;Install Pending…&lt;/STRONG&gt; state. You need to complete the configuration of Grafana before installing and starting.&lt;/LI&gt;	&lt;LI&gt;To complete the configuration, click on &lt;STRONG&gt;Services &amp;gt; Ambari Metrics &amp;gt; Configs&lt;/STRONG&gt; and you will need to enter the default Grafana Admin Password in the &lt;STRONG&gt;General&lt;/STRONG&gt; section. Click &lt;STRONG&gt;Save&lt;/STRONG&gt;.&lt;/LI&gt;	&lt;LI&gt;Browse to &lt;STRONG&gt;Hosts &amp;gt; host.name&lt;/STRONG&gt; (i.e. the &lt;STRONG&gt;host.name&lt;/STRONG&gt; used in the API call where you added Grafana). You will see the Grafana component is in an &lt;STRONG&gt;Install Pending…&lt;/STRONG&gt; state. Use the &lt;STRONG&gt;Install Pending&lt;/STRONG&gt;… action button and select &lt;STRONG&gt;Re-install&lt;/STRONG&gt;.&lt;/LI&gt;	&lt;LI&gt;Once the install operation completes, select &lt;STRONG&gt;Start&lt;/STRONG&gt; to start Grafana.&lt;/LI&gt;	&lt;LI&gt;To access Grafana, browse to &lt;STRONG&gt;Services &amp;gt; Ambari Metrics&lt;/STRONG&gt;, select &lt;STRONG&gt;Quick Links&lt;/STRONG&gt; and then choose &lt;STRONG&gt;Grafana&lt;/STRONG&gt;.&lt;/LI&gt;	&lt;LI&gt;In VirtualBox, right click on your Sandbox VM &amp;gt; Settings &amp;gt; Network &amp;gt; Adapter 1 &amp;gt; Advanced &amp;gt; Port Forwarding&lt;P&gt;Add the following 2 ports to be forwarded(top right icon with a + in it)&lt;/P&gt;&lt;PRE&gt;name: grafana, protocol: TCP, HOST IP : 127.0.0.1, HOST Port: 3000, Guest Port: 3000
name: collector, protocol: TCP, HOST IP: 127.0.0.1, HOST Port: 6188, Guest Port: 6188	&lt;/PRE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;
	
You should be able to access Grafana directly from &lt;A href="http://127.0.0.1:3000/" target="_blank"&gt;http://127.0.0.1:3000/&lt;/A&gt; now.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 02:50:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112391#M33828</guid>
      <dc:creator>prao</dc:creator>
      <dc:date>2016-07-06T02:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Metrics link (grafana) not available on HDP 2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112392#M33829</link>
      <description>&lt;P&gt; hmmm wow.  nice work.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 00:17:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112392#M33829</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-07-07T00:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Metrics link (grafana) not available on HDP 2.5 sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112393#M33830</link>
      <description>&lt;P&gt;I meet this question after upgrading from 2.3 to 2.5, then now it's solved by this workarround.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 14:05:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-link-grafana-not-available-on-HDP-2-5-sandbox/m-p/112393#M33830</guid>
      <dc:creator>zhangcm</dc:creator>
      <dc:date>2017-03-29T14:05:36Z</dc:date>
    </item>
  </channel>
</rss>

