>>> On 11/10/2009 at 4:11 AM, in message
<d2d9beb20911100311k1a9ae67o11b0d47eaff69...@mail.gmail.com>, Himanshu Sharma
<himan...@berkeley.edu> wrote:
> Hello all,
> 
> We were looking to store Ganglia data in MySql rather than just an
> RRD. There was a discussion earlier on the same issue -
> http://www.mail-archive.com/ganglia-developers@lists.sourceforge.net/msg02100.
> html.
> It would be great if there was some reusable code available or if
> there was any outcome out of it as to what could be the best possible
> approach.
> 

One solution to this was the rewrite of gmetad in python.  We did this a couple 
of years ago and added it to the SVN repository.  One of the new features of 
the python rewrite was the introduction of gmetad plugins.  The plugin 
interface allows you to plug in a python module where you can do anything you 
want with the data that is being gathered from the gmond agents.  There are 
examples of plugins that store data in an RRD database as well as one that 
generates email alerts.  You should be able to use the RRD database plugin as 
an example to easily create a plugin that stores the data in a MySQL database 
instead or in addition to RRD.  

Brad


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to