Given that ganglia officially does not provide a good entry document, This article gives an introductory guide to building a ganglia monitoring system based on the CentOS 6.6 Rapid setup, and if further ganglia is needed, see ganglia monograph Monitoring with Ganglia "and Ganglia official website.
1, sudo yum install ganglia Ganglia-gmetad ganglia-gmond ganglia-web2, sudo vi/etc/ganglia/ Gmond.conf only need to modify the value of name: cluster {name = "Bigdata" owner = "unspecified" Latlong = "unspecified" url = "Unspecified"}3, sudo vi/etc/ganglia/gmetad.conf Modify the value in the double quotation marks in the data_source, and the cluster name in 2 is consistent: Data_source "Bigdata" localhost4, sudo service Gmetad start5, sudo service gmond start6, sudo vi/etc/httpd/conf/httpd.conf specify host name: ServerName bigdata-01:807, sudo vi/etc /httpd/conf.d/ganglia.conf settings Allow access: Enable from All8, sudo service httpd start
Then visit Http://bigdata-01:80/ganglia, there are a lot of monitoring indicators, very convenient to view the program's resource consumption, as shown in:
Cpu:
Process:
Internet:
Memory:
Load:
Disk:
Use ganglia to monitor your cluster