Ganglia is a scalable, distributed monitoring tool for high-performance computing systems, clusters and networks.
The software is used to view either live or recorded statistics covering metrics such as CPU load averages or network utilization for many nodes.【en.wikipedia.org】
Gmond is a multi-threaded daemon which runs on each cluster node you want to monitor.
Installation does not require having a common NFS filesystem or a database back-end, installing special accounts or maintaining configuration files.
Gmond has four main responsibilities:
- Monitor changes in host state.
- Announce relevant changes.
- Listen to the state of all other ganglia nodes via a unicast or multicast channel.
- Answer requests for an XML description of the cluster state.【en.wikipedia.org】
Federation in Ganglia is achieved using a tree of point-to-point connections amongst representative cluster nodes to aggregate the state of multiple clusters.
At each node in the tree, a Ganglia Meta Daemon (gmetad) periodically polls a collection of child data sources, parses the collected XML, saves all numeric, volatile metrics to round-robin databases and exports the aggregated XML over a TCP socket to clients. Data sources may be either gmond daemons, representing specific clusters, or other gmetad daemons, representing sets of clusters. Data sources use source IP addresses for access control and can be specified using multiple IP addresses for failover. The latter capability is natural for aggregating data from clusters since each gmond daemon contains the entire state of its cluster. 【en.wikipedia.org】
The Ganglia web front-end provides a view of the gathered information via real-time dynamic web pages. Most importantly, it displays Ganglia data in a meaningful way for system administrators and computer users. Although the web front-end to ganglia started as a simple HTML view of the XML tree, it has evolved into a system that keeps a colorful history of all collected data. 【en.wikipedia.org】
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.9 (Final)
yum update && yum install epel-release
yum install ganglia-devel ganglia rrdtool ganglia-gmetad ganglia-gmond ganglia-web
htpasswd -c /etc/httpd/auth.basic adminganglia
chkconfig --add gmetad
service gmetad start
yum install ganglia-gmond
chkconfig --add gmond
service gmond start