How to install and configure Ganglia in CentOS 5.5

Source: Internet
Author: User
Tags rrdtool

How to install and configure Ganglia in CentOS 5.5

Ganglia is an open-source cluster monitoring project initiated by UC Berkeley, designed to measure thousands of nodes. Ganglia includes gmond, gmetad, and a Web front-end. It is mainly used to monitor system performance, such as cpu, mem, hard disk utilization, I/O load, and network traffic. It is easy to see the working status of each node through the curve, it plays an important role in rationally adjusting and allocating system resources and improving the overall system performance.

In CentOS 5.5, there are many ways to install Ganglia, such as using yum, rpm package or source code. Here I will discuss how to install Ganglia source code. Needless to say, go to the Ganglia official website to download the source code, decompress the package, read the README and INSTALL documents, and then follow the instructions above for step-by-step installation. If yum is missing, it is the greatest convenience of CentOS. If yum is not available, install the source code. The specific process is relatively simple.

Generally, configuration is required after installation. The specific configuration files are gmond. conf and gmetad. conf in the/etc/ganglia/directory.

Gmond. conf

Cluster {

Name = "unspecified" ------> changed to: "my cluster"

Owner = "unspecified"

Latlong = "unspecified"

Url = "unspecified"

}

Gmetad. conf

Because gmetad. the default RRD data storage path in conf:/var/lib/ganglia/rrds. You need to create your own directory and change the owner to nobody (originally root ), otherwise, the following error occurs:

Err1:

# Service gmetad status

Gmetad is dead, but subsys is locked

Err2:

There was an error collecting ganglia data (127.0.0.1: 8652): fsockopen error: Connection refused

Solution code:

# Mkdir-p/var/lib/ganglia/rrds

# Chown nobody: nobody/var/lib/ganglia/rrds

Pay attention to the conf. php file under the/var/www/html/ganglia/directory.

Correctly specify the path for installing rrdtool. The default value is as follows:

Define ("RRDTOOL", "/usr/bin/rrdtool ");

Expand the Python module under Ganglia 3.1.x (translated from the official wiki)

Use Ganglia to monitor Hadoop Clusters

Install and configure Hadoop and Ganglia in Ubuntu of VMware Workstation

Create a Grid

Ganglia installation tutorial yum

Ganglia Quick Start Guide (translated from the official wiki)

Install Ganglia-3.6.0 monitoring Hadoop-2.2.0 and HBase-0.96.0 on CentOS Cluster

Install Ganglia on CentOS 6.5

Install Ganglia on Ubuntu 14.04 Server

This article permanently updates the link address:

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.