Install ganglia on centos 6.5 yum

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.