not idle

Writing custom Python metric modules for Ganglia

Wednesday, October 29th, 2008

First you have to make sure Python development package is installed on your system # apt-get install python2.5-dev I recommend adding –with-python=PATH parameter to the configure script when building Ganglia # ./configure –with-python=/usr/bin/python2.5 To write a Python module you have to follow a template (sample below) and put the resulting Python module (.py) in ganglia/python_modules. [...]

Read the rest of this entry »