Created 03-17-2018 06:44 PM
i make entry on host file on window and centos .
i can ping host by name and ip
Created 03-17-2018 07:19 PM
Can you ping your vm IP from Windows? restart the ambari server and agent
# ambari-server restart # ambari-agent restart
Whats your cluster configuration single node or multi-node?
Created 03-17-2018 08:33 PM
yes i can ping VM IP from Windows
Created 03-17-2018 08:37 PM
cluster configuration is multi-node
i have three node
Created 03-17-2018 08:43 PM
I restarted ambari server and agent
Created 03-17-2018 08:41 PM
Host metrics are available as part of the Ambari Metrics Monitor data collection. So can you please check if you have installed the Ambari Metrics Collector on your cluster and also the Ambari Metrics Monitor service is running fine on every Host of the cluster so that the ambari metrics monitor can collect the host metrics and send it to the AMS collector.
.
Please check the "/var/log/ambari-metrics-monitor/ambari-metrics-monitor.out". this file to see if the Monitor is able to properly communicate with the AMS collector or not? If you find any error then please also share the "ambari-metrics-collector.log"
.
Created 03-17-2018 09:59 PM
I check status ambari-metrics-collector and monitor
[root@node2 ~]# ambari-metrics-collector status AMS is running as process 1896.
[root@node2 ~]# ambari-metrics-monitor status psutil build directory is not empty, continuing... Found ambari-metrics-monitor PID: 32315 ambari-metrics-monitor running. Monitor PID at: /var/run/ambari-metrics-monitor/ambari-metrics-monitor.pid Monitor out at: /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out
Created 03-17-2018 10:06 PM
monitor might be running but is it communicating well with AMS collector or not? Please share the log "/var/log/ambari-metrics-monitor/ambari-metrics-monitor.out"
can you please try this: (basically rebuild psutils)
# cd /usr/lib/python2.6/site-packages/resource_monitoring/ # python psutil/build.py
The from amabri UI restart the AMS monitor process on that node2
Created 03-17-2018 10:14 PM
Please check your "ambari-metrics-monitor.out" file to see if you notice any such following message whcih indicates that the Ambari Metrics Monitor process on that node (niode2) has some issues connecting to the AMS collector?
[WARNING] emitter.py:146 - Error sending metrics to server. [Errno 111] Connection refuse . . [WARNING] emitter.py:120 - Metric collector host xxxxx.yyyy.com was blacklisted.
.
Also please check if the metrics monitor on that host is pointing to the correct Hostname of the AMS collector? Also do a telnet or (netcat) to see if node2 is able to connect to AMS collector Hostname & Port or not?
# grep 'metrics_servers' /etc/ambari-metrics-monitor/conf/metric_monitor.ini metrics_servers = amb25102.example.com # grep 'port' /etc/ambari-metrics-monitor/conf/metric_monitor.ini port = 6188 # nc -v amb25102.example.com:6188
.
Created 03-19-2018 10:18 PM