Re: [Ganglia-developers] Ganglia python support module

2007-07-12 Thread Nick Galbreath
Hi folks, I'm happy to add my embeddedgmetric c/python/whatever into your repository if there is any interest.http://code.google.com/p/embeddedgmetric/ (oh by the way, it's now at version 1.1) To answer the question on what is the difference between my python module and the other one, it's

Re: [Ganglia-developers] Web frontend graph sizes

2007-05-09 Thread Nick Galbreath
yes, I've seen this on a mac too. The gmetad code is somewhat odd in that is uses "poll" one file descriptor at time, one thread at a time. which is not how it's normally used. I _THINK_ this was done to do read timeouts on the socket, however this can now be done safely with libapr. (it's real

Re: [Ganglia-developers] support for COUNTER and DERIVE rrdtool data formats?

2007-04-29 Thread Nick Galbreath
with the ganglia_slope.diff, perhaps you could use calls to some gperf-generated perfect hash within cstr_to_slope(). Using a perfect hash would save the multiple calls to stricmp(), although this is probably not huge performance issue ;-) While in general I hate bit switch statements, in

[Ganglia-developers] doxygen of monitor-core online

2007-04-29 Thread Nick Galbreath
For "fun" i put this up http://modp.com/ganglia/doxygen/html/ It's mostly from svn revision 770 + a few oddball experiments of mine. If you hasn't used doxygen before, explore a bit... it has sliced-n-diced the code in every direction.Also look at the home page for it. http://www.stack.nl/~

Re: [Ganglia-developers] support for COUNTER and DERIVE rrdtool data formats?

2007-04-29 Thread Nick Galbreath
HI there, I came up with patch for this. http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=143 (and attached here). If the "slope" is positive, then it will use a COUNTER. But this is very easy to change (it's pretty easy to see how the slope -> rrd ds type is done now). See rrd_he

[Ganglia-developers] dynamic apr autotools problems, solutions?

2007-04-29 Thread Nick Galbreath
Hi, [[I vote for ripping apr out of the source tree too! But this post is more mechanical in nature so I decided to split it off.]] APR 1.2.X by has an unusual install. If you download it and compile from scratch: the libs are in /usr/local/apr/lib (NOT /usr/local/lib/apr) the includes ar

Re: [Ganglia-developers] support for COUNTER and DERIVE rrdtool data formats?

2007-04-27 Thread Nick Galbreath
Hi Jeff... funny.. the patch for gmetric and gmond just went in. However gmetad has not been updated yet. But I think it's like a two line patch. I'll try and do that this weekend... --nickg On 4/26/07, Jeff Gerard <[EMAIL PROTECTED]> wrote: Hi Ganglioids, I see from the archives that thi

Re: [Ganglia-developers] Removing the static dependancy on APR fromGanglia...

2007-04-25 Thread Nick Galbreath
Hi Brad... RE: Apr 0.9X vs Apr 1.2.X I guess I'm a bit confused. I like the configure switch, but why not nuke the 0.9.7 and put in the 1.2.X in srclib then no ifdefs are needed and every knows what version to use. To make a patch now, I have to pull two copies of APR and compare differences.

Re: [Ganglia-developers] Embedded Gmetric

2007-04-25 Thread Nick Galbreath
Hello, thanks all for the comments. the python code is so simple, I'd be happy to add it, as-is to a "contrib" directory or something similar. I still need to add pydoc to it however. I think Java will be a snap as well (since XDR is effectively built-in). Perl/Php/Ruby contribution welcome, bu

Re: [Ganglia-developers] fix for gmetric/gmond and slope setting/printing (bugzilla 136)

2007-04-25 Thread Nick Galbreath
hello all, Thanks everyone for the review. Re: Matt / Conflicts Ag the conflicts, mostly svn being silly. I generated this about 3 weeks ago and posted it to bugzilla which went nowhere since I think the email was busted. Attached is a refreshed version. RE: Paul / gmetad changes Actually

[Ganglia-developers] fix for gmetric/gmond and slope setting/printing (bugzilla 136)

2007-04-24 Thread Nick Galbreath
Hi there, Attached is a patch to fix a small gmetric/gmond bug. It turns out that gmetric doesn't let you set slope correctly, and gmond doesn't print the slope from gmetric correctly (well, it only allows 2 values instead of 4). I originally filed it in http://bugzilla.ganglia.info/cgi-bin/bu

Re: [Ganglia-developers] Removing the static dependancy on APR from Ganglia...

2007-04-24 Thread Nick Galbreath
I'm not an official developer in ganglia, but I think it's great. Also note that in monitor-core/srclib/inetaddr.c contains a mutex-protected gethostbyname to be thread safe (which cleverly avoids the nightmare that is gethostbyname_r). That can probably be replaced with the one in apr_network

[Ganglia-developers] Embedded Gmetric

2007-04-24 Thread Nick Galbreath
Hi folks, you may find the following interesting http://code.google.com/p/embeddedgmetric/ It provides a _very_ small C/C++ library to send gmond/gmetric packets. It does not require a configuration file and is very lightweight. It's really 2 ".c" files. Also, a description of the "gmetric p