Reprint please explain the source: http://blog.csdn.net/cywosp/article/details/39701141
Note: The following operations are only performed on one machine:
1. install PHP supportYum install PHP-common PHP-cli PHP-GB PHP
2. Install ganglia and Its Related ComponentsServer: yum install rrdtool-devel ganglia-web ganglia-gmetad ganglia-gmond-Python httpd Apr-devel zlib-devel libconfuse-devel expat-devel PCRE-devel client: yum install ganglia-gmond
3. Related ConfigurationModify/etc/ganglia/gmond. conf cluster {name = "cynric" // This is the name of the entire cluster.
}
Dup_send_channel {Host = 127.0.0.1 // host is unicast mode mcast_join multicast mode}
Udp_recv_channel {Port = 8649 // If the unicast mode is used, delete the mcast_join and bind options}
The client modifies the file/etc/ganglia/gmetad. conf data_source "cynric" localhost // cynric is the name of localhost in the cluster in gmond. conf, which must be the IP address of the server.
Setuid_username "nobody"
4. Create the rrds directoryMkdir-P/var/lib/ganglia/rrds chown nobody: Nobody/var/lib/ganglia/rrds chmod A + w/var/lib/ganglia/rrds
5. Disable SELinux or you will not be able to access the monitored web page.VI/etc/SELinux/config SELinux = Disable the above method needs to restart the machine
You can enter setenforce 0 on the terminal.
6. Start Related ServicesService gmond start service gmetad start service httpd restart
7. enter 127.0.0.1/ganglia in the browser to check whether the request is successful.
8. If you encounter problems, please view http://blog.csdn.net/cybercode/article/details/6210444
Install ganglia on centos 6.5 yum