On Mar 11, 2011, at 2:30 PM, Bernard Li wrote:

> Hi Seth:
> 
> On Fri, Mar 11, 2011 at 12:26 PM, Seth Graham <set...@fnal.gov> wrote:
> 
>> You shouldn't need to modify the ganglia source to do this. If you want the 
>> per-host value, parse the XML coming from gmond. Every host has an entry in 
>> this XML tree, and the values are not aggregated.
> 
> I was kind of surprised that no such library exists to do this -- are
> you aware of anything in the wild?  

No.. but I've never had a need to look for one.

I use php's xml parser to pull the bits of data I need, which was more or less 
a cut and paste from the ganglia.php that ships with the web frontend. :)

It's good code, it might be useful to turn it into a standalone library at some 
point.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to