Posts Tagged python
Ganglia plugin repositories at GitHub
Posted by Bernard Li in Announcements on August 19, 2010
We have created three repositories on GitHub for centralizing user contributions which extends Ganglia:
Gmetric: http://github.com/ganglia/gmetric
Gmond Python DSO metric modules: http://github.com/ganglia/gmond_python_modules
Other Ganglia contributions: http://github.com/ganglia/ganglia_contrib
We have imported most of the gmetric scripts from http://ganglia.info/gmetric and there are now about 40+ contributions available.
If you have written a gmetric script, python module, or other tools that extends the functionality of Ganglia and would like to contribute, please fork the corresponding repository, add your code in the appropriate directories and submit a pull request.
For discussions on developing, using or contributing these plugins, please head over to our mailing-lists: http://sourceforge.net/mail/?group_id=43021
Thanks for your attention and happy plugins writing!
– Ganglia Development Team
greg bruno’s python class v2.0 released!
Posted by Matt Massie in Releases on March 22, 2002
The command-line client (/usr/sbin/ganglia) is a small utility which is best used as an example — guiding the development of other python-based ganglia tools. The command-line client instantiates the ganglia python class (Gang). ‘Gang’ (/usr/lib/python1.5/site-packages/gmon/ganglia.py) is where all the “heavy-lifting” occurs, as it contains the methods to attach to a local gmond server and parse gmond’s XML output. Other methods are included that output specific metrics and display a help message (by dynamically examining the metrics in the XML output!).
