[Ganglia-developers] gmond returned wrong names of hosts

2009-11-19 Thread Лозгачев Иван Николаевич
Hi! I am running gmond-3.0.7 on Windows Server 2008 (gmond was compiled under Cygwin). "s-cw-head" is name of my head host, s-cw-node01, s-cw-node02 are names of compute nodes. So, when I tried telnet localhost 8649 gmond returned an XML with name of head host "Private.s-cw.head". Nam

Re: [Ganglia-developers] Fwd: Getting started with developing a C++ DSO module

2009-11-19 Thread Brad Nicholes
>>> On 11/19/2009 at 9:13 AM, in message <75fb37ae0911190813q66cf1f96w1afe84f8bdbe1...@mail.gmail.com>, Sylvester Steele wrote: >> I'm not sure what you are looking for. The purpose of the code that I > referred to was to show how a module would generate the metric definitions > during the ini

Re: [Ganglia-developers] Fwd: Getting started with developing a C++ DSO module

2009-11-19 Thread Sylvester Steele
> I'm not sure what you are looking for.  The purpose of the code that I > referred to was to show how a module would generate the metric definitions > during the initialization phase of gmond.  Basically what happens is that > when gmond is started it loads each module and calls the metric_init

Re: [Ganglia-developers] gmetad no summary for spoof'd data patch

2009-11-19 Thread Brad Nicholes
>>> On 11/18/2009 at 8:19 AM, in message <20091118151950.ga13...@porcupine.cita.utoronto.ca>, Robin Humble wrote: > Hi Brad, > > I appreciate you taking the time to look at the patch. > > On Tue, Nov 17, 2009 at 09:54:11AM -0700, Brad Nicholes wrote: >> On 11/7/2009 at 12:06 AM, in message > <2

Re: [Ganglia-developers] Fwd: Getting started with developing a C++ DSO module

2009-11-19 Thread Brad Nicholes
>>> On 11/19/2009 at 6:32 AM, in message <75fb37ae0911190532t17685eb0uc1db8390546b4...@mail.gmail.com>, Sylvester Steele wrote: >> Take a look at the pyth_metric_init() function in the mod_python.c module. > At the end of the function, mod_python takes all of the metric definitions > and pushe

Re: [Ganglia-developers] Fwd: Getting started with developing a C++ DSO module

2009-11-19 Thread Sylvester Steele
> Take a look at the pyth_metric_init() function in the mod_python.c module.   > At the end of the function, mod_python takes all of the metric definitions > and pushes them into an APR array.  Then it sets the metric_info field of the > module structure with the metric_info->elts value. > >    p