Re: [Ganglia-developers] python gmetad

2008-04-22 Thread Matt Ryan
On Tue, 2008-04-22 at 07:59 -0600, Matt Ryan wrote: > On Tue, 2008-04-22 at 05:27 -0500, Carlo Marcelo Arenas Belon wrote: > > On Mon, Apr 21, 2008 at 11:48:35AM -0600, Matt Ryan wrote: > > > > > > Attached is a patch for this bug. The problem was that with no data > > > sources providing data t

Re: [Ganglia-developers] python gmetad

2008-04-22 Thread Matt Ryan
On Tue, 2008-04-22 at 05:27 -0500, Carlo Marcelo Arenas Belon wrote: > On Mon, Apr 21, 2008 at 11:48:35AM -0600, Matt Ryan wrote: > > > > Attached is a patch for this bug. The problem was that with no data > > sources providing data to gmetad (since the gmond used as a cluster > > collector is do

Re: [Ganglia-developers] python gmetad

2008-04-22 Thread Matt Ryan
On Tue, 2008-04-22 at 05:27 -0500, Carlo Marcelo Arenas Belon wrote: > On Mon, Apr 21, 2008 at 11:48:35AM -0600, Matt Ryan wrote: > > > > Attached is a patch for this bug. The problem was that with no data > > sources providing data to gmetad (since the gmond used as a cluster > > collector is do

Re: [Ganglia-developers] python gmetad

2008-04-22 Thread Carlo Marcelo Arenas Belon
On Mon, Apr 21, 2008 at 11:48:35AM -0600, Matt Ryan wrote: > > Attached is a patch for this bug. The problem was that with no data > sources providing data to gmetad (since the gmond used as a cluster > collector is down) the internal data structure was empty, and the code > was trying to navigat

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Carlo Marcelo Arenas Belon
On Mon, Apr 21, 2008 at 09:36:33AM -0600, Matt Ryan wrote: > On Sat, 2008-04-19 at 06:10 -0700, Gilad Raphaelli wrote: > > > > I was only able to get things started after moving from python2.3 to > > python2.5 (after making the changes above) due to some changes (?) to the > > logging module. I

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Carlo Marcelo Arenas Belon
On Mon, Apr 21, 2008 at 11:26:27AM -0600, Matt Ryan wrote: > > It sets the default value for the gridname to an empty string ('') > instead of None. if no gridname is defined the default should be instead the string 'unspecified' Committed revision 1272 Carlo --

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Brad Nicholes
>>> On Mon, Apr 21, 2008 at 11:26 AM, in message <[EMAIL PROTECTED]>, "Matt Ryan" <[EMAIL PROTECTED]> wrote: > On Mon, 2008-04-21 at 09:36 -0600, Matt Ryan wrote: > > [snip] > >> > >> > Finally, gmetad-python does not like it when the gridname is not set > throwing: >> > >> > File "/home/gr

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Matt Ryan
On Mon, 2008-04-21 at 09:37 -0600, Matt Ryan wrote: > On Mon, 2008-04-21 at 01:45 -0500, Carlo Marcelo Arenas Belon wrote: > > On Sat, Apr 19, 2008 at 06:10:28AM -0700, Gilad Raphaelli wrote: > > > > > > I was only able to get things started after moving from python2.3 to > > > python2.5 (after m

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Matt Ryan
On Mon, 2008-04-21 at 09:36 -0600, Matt Ryan wrote: [snip] > > > > Finally, gmetad-python does not like it when the gridname is not set > > throwing: > > > > File "/home/graph/local/src/gmetad-python/gmetad_data.py", line 44, in > > generateKey > > return ':'.join(vals) > > TypeError: s

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Matt Ryan
On Mon, 2008-04-21 at 01:45 -0500, Carlo Marcelo Arenas Belon wrote: > On Sat, Apr 19, 2008 at 06:10:28AM -0700, Gilad Raphaelli wrote: > > > > I was only able to get things started after moving from python2.3 to > > python2.5 (after making the changes above) due to some changes (?) to the > > l

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Matt Ryan
ems like it has started collecting metrics now. This is awesome, > awesome stuff - thanks for putting it together. > > Thank you, > > Gilad > > - Original Message ---- > > From: Matt Ryan <[EMAIL PROTECTED]> > > To: [email protected] &

Re: [Ganglia-developers] python gmetad

2008-04-21 Thread Carlo Marcelo Arenas Belon
On Fri, Apr 18, 2008 at 08:06:47AM -0600, Matt Ryan wrote: > > I've included a CHANGELOG file that outlines basically what this python > gmetad should do and what it doesn't claim to do. reformatted it slightly and split it into a README and TODO files > What I'm Asking You To Do: > - If this is

Re: [Ganglia-developers] python gmetad

2008-04-20 Thread Carlo Marcelo Arenas Belon
On Sat, Apr 19, 2008 at 06:10:28AM -0700, Gilad Raphaelli wrote: > > I was only able to get things started after moving from python2.3 to > python2.5 (after making the changes above) due to some changes (?) to the > logging module. I'm fine with that but believe there were changes done to > gm

Re: [Ganglia-developers] python gmetad

2008-04-19 Thread Gilad Raphaelli
r. Thank you, Gilad - Original Message > From: Matt Ryan <[EMAIL PROTECTED]> > To: [email protected] > Sent: Saturday, April 19, 2008 12:06:47 AM > Subject: [Ganglia-developers] python gmetad > > Hi, > > Attached is a first stab at a python ver

[Ganglia-developers] python gmetad

2008-04-18 Thread Matt Ryan
Hi, Attached is a first stab at a python version of gmetad. Brad asked me to try rewriting gmetad in python in order to hopefully support future extensibility via python modules. I've included a CHANGELOG file that outlines basically what this python gmetad should do and what it doesn't claim to