Support Questions

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

matrics collector is up but metrics dashboard not display usage

avatar

hi all

we have ambari cluster , and matrics collector is up but metrics dashboard not display usage ( no data availble ) as the following

78452-capturepng3.png

78451-capturepng2.png

78450-capture.png

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Master Mentor

@Michael Bronson

As the AMS collector seems to be running it should collect and show the data however we will need to check if AMS collector has the data or not? So in order to check that we will need to capture the following informations:

1. Need to make an API call to the AMS collector in order to list down the number & names of metrics that it is collecting? and from which hosts. The following URLs will give us JSON output . Can you please share the same here.

http://<ams-host>:6188/ws/v1/timeline/metrics/metadata
http://<ams-host>:6188/ws/v1/timeline/metrics/hosts

2. Need to check the Binaries of ambari collector and sink (so that we can see if it is same as ambari ersion)

# rpm -qa | grep ambari 

3. Can you please check if the metrics-monitor logs shows any kind of connectivity error while connecting to AMS collector?

# /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out 
4. Do we see if the hostname resolution if file and correctly defined inside the "/etc/ambari-metrics-monitor/conf/metric_monitor.ini" file
5. Please check if the AMS collector log shows any error?

View solution in original post

1 REPLY 1

avatar
Master Mentor

@Michael Bronson

As the AMS collector seems to be running it should collect and show the data however we will need to check if AMS collector has the data or not? So in order to check that we will need to capture the following informations:

1. Need to make an API call to the AMS collector in order to list down the number & names of metrics that it is collecting? and from which hosts. The following URLs will give us JSON output . Can you please share the same here.

http://<ams-host>:6188/ws/v1/timeline/metrics/metadata
http://<ams-host>:6188/ws/v1/timeline/metrics/hosts

2. Need to check the Binaries of ambari collector and sink (so that we can see if it is same as ambari ersion)

# rpm -qa | grep ambari 

3. Can you please check if the metrics-monitor logs shows any kind of connectivity error while connecting to AMS collector?

# /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out 
4. Do we see if the hostname resolution if file and correctly defined inside the "/etc/ambari-metrics-monitor/conf/metric_monitor.ini" file
5. Please check if the AMS collector log shows any error?