Re: [Ganglia-developers] gmond python module: multidisk.py

2007-07-13 Thread Brad Nicholes
>>> On 7/13/2007 at 7:01 PM, in message <[EMAIL PROTECTED]>, "Bernard Li" <[EMAIL PROTECTED]> wrote: > Brad: > > multidisk.py has a line: > > print 'Discovered device %s' % line[1] > > Is this for debugging purposes? > > Right now you will get output similar to the following when you start > up

[Ganglia-developers] gmond python module: multidisk.py

2007-07-13 Thread Bernard Li
Brad: multidisk.py has a line: print 'Discovered device %s' % line[1] Is this for debugging purposes? Right now you will get output similar to the following when you start up gmond with -m or -d options: Discovered device / Discovered device /boot Discovered device /dev/shm slurpfile() open()

Re: [Ganglia-developers] Multicast traffic being lost

2007-07-13 Thread Richard Mohr
On Fri, 2007-07-13 at 20:06 +0100, Paul Millar wrote: > This is a quick email more reporting a "gotcha": an effect that can cause > gmetric updates to be lost. This may be "well known" and, in retrospect, > should be expected. Apologies if this is already known, but I've not seen it > documen

Re: [Ganglia-developers] Ganglia python support module

2007-07-13 Thread Paul Millar
On Friday 13 July 2007 18:08:13 Brad Nicholes wrote: > There are several options then > > 1. Include the examples in the tarball but don't install them from RPM or > 'make install' > 2. Same as #1 except 'make install' would install them as > disabled > 3. Same as #1 except both RPM and 'make inst

[Ganglia-developers] Multicast traffic being lost

2007-07-13 Thread Paul Millar
Hi all, This is a quick email more reporting a "gotcha": an effect that can cause gmetric updates to be lost. This may be "well known" and, in retrospect, should be expected. Apologies if this is already known, but I've not seen it documented, so I thought I'd risk sending an email. When a p

Re: [Ganglia-developers] Ganglia python support module

2007-07-13 Thread Bernard Li
True -- I guess we could also post examples in the wiki or perhaps in the man page? I'm okay with #1 -- please go ahead with the fixes. Thanks, Bernard On 7/13/07, Brad Nicholes <[EMAIL PROTECTED]> wrote: > There are several options then > > 1. Include the examples in the tarball but don't inst

Re: [Ganglia-developers] Ganglia python support module

2007-07-13 Thread Brad Nicholes
There are several options then 1. Include the examples in the tarball but don't install them from RPM or 'make install' 2. Same as #1 except 'make install' would install them as disabled 3. Same as #1 except both RPM and 'make install' would install them as disabled I am OK with just #1, since t

Re: [Ganglia-developers] Ganglia python support module

2007-07-13 Thread Bernard Li
Well, perhaps they should be installed some place like /usr/share/ganglia? I mean it wouldn't be a bad idea to include it in the RPM, but not in a place where they will be executed. After all, it's good to have examples to follow to write your own module. Cheers, Bernard On 7/13/07, Brad Nicho

Re: [Ganglia-developers] Ganglia python support module

2007-07-13 Thread Brad Nicholes
>>> On 7/12/2007 at 7:01 PM, in message <[EMAIL PROTECTED]>, "Bernard Li" <[EMAIL PROTECTED]> wrote: > Hi Brad: > > On 7/12/07, Brad Nicholes <[EMAIL PROTECTED]> wrote: > >> > We probably don't want to include the example gmetrics by default -- >> > i.e. *Numbers :-) >> > >> >> Yeah, but the rand

Re: [Ganglia-developers] Patch for configure.in, Makefile.am's

2007-07-13 Thread Bernard Li
Okay, just tested this under Fedora Core 6 which comes with apr 1.2.7 _only_. Without my patch, apr include path is not correctly setup, and thus `make` would fail. When I apply my patch, it builds correctly. This is also confirmed to work on Ubuntu by Lauchlin. I wonder why it just works under