/etc/hadoop/conf/hadoop-metrics2.properties 
namenode.sink.ganglia.servers=10.0.0.1:8649
datanode.sink.ganglia.servers=10.0.0.1:8649
journalnode.sink.ganglia.servers=10.0.1.1:8649
resourcemanager.sink.ganglia.servers=10.0.1.1:8649
nodemanager.sink.ganglia.servers=10.0.1.1:8649
mrappmaster.sink.ganglia.servers=10.0.1.1:8649
jobhistoryserver.sink.ganglia.servers=10.0.1.1:8649
zkfc.sink.ganglia.servers=10.0.1.1:8649
maptask.sink.ganglia.servers=10.0.1.1:8649
reducetask.sink.ganglia.servers=10.0.1.1:8649


9.0.0.1: cat  /etc/ganglia/gmetad.conf   
data_source "hdfs-cluster-summary" 8.0.0.1:8651
data_source "yarn-cluster-summary" 8.0.0.2:8651
data_source "system-zk-cluster" 8.0.0.3:8651

gridname "BigDataGrid"
authority "http://9.0.0.1/ganglia/"
trusted_hosts 9.0.0.1 10.0.0.1 10.0.0.2
all_trusted on
setuid_username "apache"
case_sensitive_hostnames 1


8.0.0.1: cat  /etc/ganglia/gmetad.conf   
server_threads 10
data_source "hdfs-cluster" 10.0.0.1:8651
data_source "hdfs-cluster-1" 10.0.0.2:8651
data_source "hdfs-cluster-2" 10.0.0.3:8651

gridname "hdfs-cluster-summary"
authority "http://8.0.0.1/ganglia/"
trusted_hosts 9.0.0.1 10.0.0.1 10.0.0.2 8.0.0.3 8.0.0.1 8.0.0.2 10.0.0.2 10.0.0.3 
all_trusted on
setuid_username "apache"
case_sensitive_hostnames 1



10.0.0.1: cat  /etc/ganglia/gmetad.conf

data_source "hdfs-cluster" 10.0.0.1

gridname "hdfs-cluster"
authority "http://10.0.0.1/ganglia/"
trusted_hosts 9.0.0.1 10.0.0.1 10.0.0.2 8.0.0.3 8.0.0.1 8.0.0.2 10.0.0.2 10.0.0.3 
all_trusted on
setuid_username "apache"
case_sensitive_hostnames 1

ganglia

 

相关文章:

  • 2021-12-29
  • 2021-06-01
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-09
  • 2021-11-11
  • 2021-12-13
  • 2021-06-05
  • 2021-06-07
  • 2021-07-15
相关资源
相似解决方案