You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Laxmikant Chavan <la...@gmail.com> on 2015/06/30 11:45:25 UTC

How to retrive ambari cluster HDFS DISK USAGE METRICS

Hi all i am trying to retrieve ambari UI metrics. if any one knows please
reply.
for example if i call bellow Rest API i get ambari metrics in JSON:

http://
<ambari-server>:8080/api/v1/clusters/<cluster-name>?fields=metrics/<metrics-name>[1430844925,1430848525,15]&_=1430848532904

where Metrics Name can be : cpu , network, memory , load ..
cpu : To see cpu utilization of cluster.
network : to see network utilization of cluster.
memory : to see memory utilization of cluster.
load : to see load utilization of cluster.

for example :
http://
<ambari-server>:8080/api/v1/clusters/<cluster-name>?fields=metrics/network[1430844925,1430848525,15]&_=1430848532904

if i call above Rest APi i will get network usage data in JSON.

same as above i want how to retrieve ”HDFS  DISK USAGE METRICS DATA".
if any one know help me out.

Thanks.