Alex Balk schrieb:
I've modified the custom graphing addon to include an install script and insert itself into an "addons" subdir under the ganglia web frontend dir. I've also added (and tested - this time it works!) the option to call custom_graph_rendering.php directly to render graphs based on the pre-configured templates.
First of all: thanks for your work. Your addon is exactly what I needed all the time, but I was too busy (and maybe too lazy) to implement it on my own.
However, it wasn't easy for me to get it working. I had changed some things in the web interface before, and so install.sh couldn't patch my files properly. Ok, that's my problem, and I solved it, but I needed some time to patch my configuration.
Beside this, install.sh should ask for the template name. It assumes that the templates are in 'templates/default', but I have them in 'templates/Map24'. It wasn't a big deal to change the path in ganglia_integration.patch, but I could be a help if install.sh worked a little smarter.
Then I changed the way how custom_graph.conf is included into conf.php. I copied custom_graph.conf to the addons directory an included at the end of conf.php the line 'include("addons/custom_graph.conf");'. I think this is a better place for the configuration of an addon.
When it all worked, I just copied all changed files to my other gmetad web directories. I just have one single gmetad machine for lots of clusters, configured with virtual hosts in httpd.conf. Done.
We use Ganglia among other things for our development of services. We wrote a small interface to gmetric a bunch of data from our programs. Our developers just throw some values into a certain directory and they are displayed together with the host data. It wasn't a little bit tricky to compare these values up to today, but your addon makes it very easy - thanks again.
Gruß, Stefan -- Mapsolute GmbH Stefan Schustereit Map24 Systems and Networks Düsseldorfer Straße 40a 65760 Eschborn Germany Phone: +49 6196 77756-411 Fax: +49 6196 77756-100 http://www.mapsolute.com How you find us: http://mail.map24.com/mapsolute

