General introduction and configuration:

Compiling Ganglia using Cygwin: - maybe helpful - maybe helpful - maybe helpful

Running Ganglia as a Windows service through Cygwin:


What is Ganglia?

It is a software to monitor the availability and performance of other software, servers, and equipments that you have on your infrastructure.

Ganglia is a "scalable distributed monitoring system" focused on clusters and grids. It gives you a quick and easy-to-read overview of your entire clustered system. This monitor has been ported to many platforms and is used on thousands of clusters around the world. Anyone who employs server clusters should have Ganglia monitoring that system. Ganglia can scale to handle clusters with up to 2,000 nodes.

What challenges did I face when I tried to build Ganglia on Windows using Cygwin?

  1. Problem with xdr.h not found. The xdr.h was part of sunrpc4 or onc-rpc package which is no longer maintain. The list of packages available from Cygwin actually has onc-rpc-devel. I installed it, but that did not work, and I could not figure out what to do with it. Eventually, I found out that there is another package that provide the xdr.h but in another location.

How can we build Ganglia on Windows using Cygwin?

Follow instruction from the README.WIN file and:

export CPPFLAGS=-I/usr/include/tirpc

Comment out interface.h from libmetrics\cygwin\metrics.c


CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

export CPATH=/usr/local/include
export LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License