Ganglia References

May 23, 2011 by alex

This is a collection of ganglia-related links I put together for an ‘Introduction to Ganglia’ presentation I’m doing for the Ruby Users of Minnesota.

General Info

  • Main project page: http://ganglia.info
  • Ganglia wiki: http://sourceforge.net/apps/trac/ganglia/
  • Details on new features in the upcoming gweb (ganglia PHP UI) 2.0 release : http://sourceforge.net/apps/trac/ganglia/wiki/ganglia-web-2
  • gmond.conf man page. Lots of helpful configuration info: http://linux.die.net/man/5/gmond.conf

Live Demo

  • http://fjrkr5ab.joyent.us/ganglia-2.0/

RRD

  • Getting started with RRD: http://oss.oetiker.ch/rrdtool/tut/rrd-beginners.en.html
  • More help defining RRD files: http://www.cuddletech.com/articles/rrd/ar01s02.html
  • A little more about how RRD works with Ganglia: http://vuksan.com/blog/2010/12/14/misconceptions-about-rrd-storage/

Custom Metrics

  • Repositories for various kinds of custom metric scripts: https://github.com/ganglia
  • Libs for embedding gmetric in your application (but not ruby, see below), as well as more information on the gmetric protocol: http://code.google.com/p/embeddedgmetric/
  • Using ganglia + Ruby: http://www.igvita.com/2010/01/28/cluster-monitoring-with-ganglia-ruby/
  • Ruby lib for making gmetric calls: https://github.com/igrigorik/gmetric

Metrics via log parsing

  • ganglia-logtailer: https://bitbucket.org/maplebed/ganglia-logtailer
  • Example usage for ganglia-logtailer: http://vuksan.com/linux/ganglia/#ApacheTrafficStats
  • Logster: https://github.com/etsy/logster

Custom Graphs

  • http://vuksan.com/blog/2011/02/20/json-representation-for-graphs-in-ganglia/

Ganglia/Nagios Integration

  • Nagios script for watching ganglia metrics: https://github.com/mconigliaro/checkgangliametric
  • More info on how this works: http://vuksan.com/blog/2011/04/19/use-your-trending-data-for-alerting/
☙ ☙ ☙