Last year I experimented with both the PHP and Python Ganglia Nagios
plugins. I ran into performance problems with both - granted I was
trying to run Nagios and Ganglia together on 1 VM with 2x 2.4 GHz cores
for ~650 hosts and ~5000 services.

I modified the Python plugin to cache results from gmetad and that
provided a significant speedup, but the sheer volume of interpreter
instances became the big slowdown. I rewrote the plugin in C and saw a
significant reduction in kernel-time overhead.

If anyone else is interested or may find use from the plugin, I've
finally been cleared to release it:
https://github.com/RPI-HPC/check_ganglia_metric

I hope at some point to make the Python plugin caching changes available
as well.

The caching could likely be improved to be less metadata-intensive or
possible in-memory but unfortunately I don't have the time to do that
right now.

Regards,

-- 
Daniel M. Weeks
Systems Programmer
Center for Computational Innovations
Rensselaer Polytechnic Institute
Troy, NY 12180
518-276-4458

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to