Re: [Ganglia-general] Ganglia -- modify the source code

2011-03-11 Thread Bernard Li
Hi Seth: On Fri, Mar 11, 2011 at 12:52 PM, Seth Graham wrote: > 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

Re: [Ganglia-general] Ganglia -- modify the source code

2011-03-11 Thread Seth Graham
On Mar 11, 2011, at 2:30 PM, Bernard Li wrote: > Hi Seth: > > On Fri, Mar 11, 2011 at 12:26 PM, Seth Graham 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,

Re: [Ganglia-general] Ganglia -- modify the source code

2011-03-11 Thread Bernard Li
Hi Seth: On Fri, Mar 11, 2011 at 12:26 PM, Seth Graham 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

Re: [Ganglia-general] Ganglia -- modify the source code

2011-03-11 Thread Seth Graham
On Mar 11, 2011, at 1:51 PM, Afef MDHAFFAR wrote: > Hi all, > > I am trying to modify the source code of Ganglia in order to make ganglia > able to send monitored data via network connection to another component. > I noticed that it sums the metric values of all nodes composing the cluster > (

[Ganglia-general] Ganglia -- modify the source code

2011-03-11 Thread Afef MDHAFFAR
Hi all, I am trying to modify the source code of Ganglia in order to make ganglia able to send monitored data via network connection to another component. I noticed that it sums the metric values of all nodes composing the cluster (eg. it calculates the load of the cluster). Would you please help