转载地址:https://www.slothparadise.com/how-to-install-ganglia-on-centos-7/ 
 找了一堆文章,全都误导了,这篇正解。 
 总结步骤如下: 
 1、server端 : 
 yum install -y ganglia-gmetad ganglia-web ganglia-gmond rrd-tool rrd-tool-devel 
 2、clent端 
 yum install -y ganglia-gmond 
 3、配置与分发 
 1)server : gmetad.conf 
 : gmond.conf 
 需要把所有的要监控节点的Ip信息写入udp_send,如: 
 cluster { 
 name = “buhpc” 
 owner = “unspecified” 
 latlong = “unspecified” 
 url = “unspecified” 
 }
udp_send_channel { 
 host = 1.buhpc.com 
 port = 8649 
 ttl = 1 
 }
udp_send_channel { 
 host = 2.buhpc.com 
 port = 8649 
 ttl = 1 
 }
udp_send_channel { 
 host = 3.buhpc.com 
 port = 8649 
 ttl = 1 
 } 
 udp_send_channel { 
 host = 4.buhpc.com 
 port = 8649 
 ttl = 1 
 }
udp_send_channel { 
 host = 5.buhpc.com 
 port = 8649 
 ttl = 1 
 }
udp_send_channel { 
 host = 6.buhpc.com 
 port = 8649 
 ttl = 1 
 }
udp_recv_channel { 
 port = 8649 
 retry_bind = true 
 } 
 2) client: 分发server端改好的gmond.conf至每个节点的 /etc/ganglia/目录下 
 4、重启服务 
 1)server: service gmetad start 
 service gmond start 
 service httpd start 
 2) client端: 
 service gmond start