Tag Archives: monitoring

Using Ganglia to monitor three Banana Pi clusters

I’ve done some testing of the Ganglia monitoring tool on three small Banana Pi clusters.

three Banana Pi clusters monitored by Ganglia

Ganglia grid overview

I used a cluster of four database servers, another cluster of four nodes running GlusterFS, and a cluster of two master nodes.

The Ganglia meta demon has to be installed on the master node (the node where Ganglia stores data and the web front-end).  Some configuration changes need to be made in /etc/ganglia/gmetad.conf:

  • set the ‘gridname’ directive
  • add data_source lines for each cluster
  • add a list of IP addresses to the trustedhosts directive

The data_source directive specifies the name and host/port details of a cluster.  There is one data_source line for each cluster.

The Ganglia monitor needs to be installed on each node.  It’s configuration file (/etc/ganglia/gmond.conf) also needs to be edited:

  • edit the cluster name
  • change the port number that the monitor uses to communicate with the master node.

Ganglia uses different ports to distinguish between different clusters, so the ports in gmond.conf should be the same for every node in a cluster, and each cluster needs to use a different port.

You can read about the details here: http://banoffeepiserver.com/server-monitoring/ganglia/set-up-ganglia-on-multiple-clusters.html.

Advertisements

Server Monitoring

I’ve tested a few different monitoring tools for my Banana Pi servers.  The ones I’ve looked at so far are pretty simple, but they would be OK if I was just monitoring one Pi.

I need to be able to monitor clusters of servers, so I’m going to take a look at Ganglia.