Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
04-23-2016, 10:56 PM
Post: #1
Ganglia is a distributed monitoring system for clusters and grids.

Visit this user's website Find all posts by this user
Quote this message in a reply
04-23-2016, 11:02 PM (This post was last modified: 04-28-2016 03:11 PM by zma.)
Post: #2
RE: Ganglia
Quick notes on ganglia installation

Check some basic concepts and the general installation steps in

For Fedora 22 specific, notes on installation and configuration.

Assume, cluster is tbg31 and the meta node is tb31-2.

#meta node

The meta node: one machine that receives all measurements and presents it to a client through a website.

install packages

dnf install ganglia-gmetad ganglia-web ganglia-gmond

edit /etc/ganglia/gmetad.conf, add

gridname "tbg31"

edit /etc/ganglia/gmond.conf . Changed segments:

* The cluster attributes specified will be used as part of the <CLUSTER>
* tag that will wrap all hosts collected by this instance.
cluster {
name = "tbg31"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"

/* Feel free to specify as many udp_send_channels as you like. Gmond
used to only support having a single channel */
udp_send_channel {
#bind_hostname = yes # Highly recommended, soon to be default.
# This option tells gmond to use a source address
# that resolves to the machine's hostname. Without
# this, the metrics may appear to come from any
# interface and the DNS names associated with
# those IPs will be used to create the RRDs.
host = tb31-2
# mcast_join =
port = 8649
ttl = 1

/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
# mcast_join =
port = 8649
# bind =
# retry_bind = true
# Size of the UDP buffer. If you are handling lots of metrics you really
# should bump it up to e.g. 10MB or even higher.
# buffer = 10485760

start and enable services

systemctl start gmetad.service
systemctl enable gmetad.service

edit /etc/httpd/conf.d/ganglia.conf

# Ganglia monitoring system php web frontend

Alias /ganglia /usr/share/ganglia

<Location /ganglia>
# Require local
Require all granted
# Require ip
# Require host

start and enable services

systemctl start httpd.service
systemctl enable httpd.service

#monitoring nodes

The monitoring nodes: machines that run only the monitoring daemon and send the measurements to the meta node.

meta node is also configured to be a monitoring node.

install packages

dnf install ganglia-gmond

copy /etc/ganglia/gmond.conf from the meta node

start and enable services

systemctl start gmond.service
systemctl enable gmond.service

Now, it is done.

#Web interface

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump: