Centos6.5yum install Ganglia

Source: Internet
Author: User
Note: The following operations only operate on one machine 1. install php support yuminstallphp-commonphp-cliphp-gbphp2. install ganglia and its related components on the server side: yuminstallrrdtoolrrdtool-develganglia-webga 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 unicast mode is used, the mcast_join and bind options should be deleted} the client modifies the file/etc/ganglia/gmetad. conf data_source "Cynric" localhost // Cynric is gmond. the name localhost in the cluster in conf must be the ip address setuid_username "nobody" of the server" 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 directly 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

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.