ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laxmikant Chavan <laxmikantchav...@gmail.com>
Subject How to retrive ambari cluster HDFS DISK USAGE METRICS
Date Tue, 30 Jun 2015 09:45:25 GMT
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.

Mime
View raw message