hi,all:
i read the flume user manual,it says "Flume can also report these
metrics to Ganglia 3 or Ganglia 3.1 metanodes."
i have hadoop cluster (192.168.11.11/12/13/14/15) ,and ganglia gmetad
installed in 192.168.11.142,also a flume agent installed in
192.168.11.12, and i am confused about the host which flume should
report ,should i write this in flume-env.sh?
JAVA_OPTS="-Xms100m -Xmx200m -Dcom.sun.management.jmxremote
-Dflume.monitoring.type=ganglia -Dflume.monitoring.hosts=192.168.11.142:8651
# ps -ef|grep gmeta
root 11365 1739 0 14:27 pts/3 00:00:00 grep gmeta
nobody 23108 1 6 Oct24 ? 13:16:40 /usr/sbin/gmetad
# netstat -utlpn|grep 23108
tcp 0 0 0.0.0.0:8651 0.0.0.0:*
LISTEN 23108/gmetad
tcp 0 0 0.0.0.0:8652 0.0.0.0:*
LISTEN 23108/gmetad