ganglia与Ubuntu安装与配置

来源:互联网 发布:杜汶泽现状2017 知乎 编辑:程序博客网 时间:2024/06/07 08:36

第一步:安装

Ubuntu下有两种安装方式:

1. 使用官网教程,下载ganglia包进行编译。http://sourceforge.net/apps/trac/ganglia/wiki/Ganglia%203.1.x%20Installation%20and%20Configuration

2. 使用apt-get安装。

        命令:sudo apt-get install ganglia-monitor(gmond)

                    sudo apt-get install gmetad


这里有必要对ganglia进行一个简介:

Ganglia monitoring daemon (gmond) – a daemon which needs to run on every single node that is monitored. It collects local monitoring metrics and announce them, and (if configured) receives and aggregates metrics sent to it from other gmonds (and even from itself).

Ganglia meta daemon (gmetad) – a daemon that polls from one or more data sources (a data source can be agmond or othergmetad) periodically to receive and aggregate the current metrics. The aggregated results are stored in database and can be exported as XML to other clients – for example, the web frontend.

Ganglia PHP web frontend – it retrieves the combined metrics from the meta daemon and displays them in form of nice, dynamic HTML pages containing various real-time graphs.


剩下的查看网址:

http://www.javacodegeeks.com/2013/04/ganglia-configuration-for-a-small-hadoop-cluster-and-some-troubleshooting.html