Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-26 Thread Peter Phaal
Bernard, Thanks for committing the patch. Hopefully more people will try the sFlow functionality and we can get additional feedback. On Oct 26, 2010, at 12:47 AM, Bernard Li wrote: > If I could make just one comment: right now if I run gmond in debug > mode, it shows that the sFlow metrics are

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-26 Thread Jesse Becker
On Tue, Oct 26, 2010 at 03:47, Bernard Li wrote: > Perhaps we should start a separate thread to discuss Kostas' idea of > having a pluggable interface for metric sources.  With sFlow support, > gmond can now handle both gmond sources and sFlow sources.  With a > pluggable interface, we could in th

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-26 Thread Bernard Li
Hi all: You guys may be aware that I have checked the patch into trunk earlier today: http://sourceforge.net/apps/trac/ganglia/changeset/2351 Thanks to Neil and Peter for all the hard work and Brad for reviewing it. If I could make just one comment: right now if I run gmond in debug mode, it sh

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-18 Thread Brad Nicholes
Apparently DNSSD is not working for me. I don't have access to the DNS server so my guess is the #4 below is not set properly. I turned off DNSSD and instead manually added a collector which pointed to my Ganglia server running the enabled gmond. After restarting hsflowd, I started to see pac

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-18 Thread Neil McKee
It sounds like you are on the right track, but here is a little hsflowd troubleshooting checklist... On the source (box running hsflowd): (1). Any error messages in /var/log/messages? (2). Check /etc/hsflowd.conf, is the collector set, or is DNSSD=on? (3). If using DNSSD, is the "search" s

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-18 Thread Bernard Li
Hi Brad: On Mon, Oct 18, 2010 at 9:55 AM, Brad Nicholes wrote: > I built gmond with the sflow patch and got it up and running.  Then I > downloaded hsflowd from the sourceforge project as described in the gmond > doc.  hsflowd build and installed as expected and everything seemed to be up > a

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-18 Thread Brad Nicholes
I built gmond with the sflow patch and got it up and running. Then I downloaded hsflowd from the sourceforge project as described in the gmond doc. hsflowd build and installed as expected and everything seemed to be up and running. I also added the extra udp_recv_channel block to the gmond.co

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-11 Thread Neil McKee
As suggested, I moved the sFlow receiver into a new file "sflow.c" and eliminated any C99 assumptions. This time there is a "--disable-sflow" configure option too: http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=276 In order for sflow.c to feed data directly into the repository

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-08 Thread Kostas Georgiou
On Fri, Oct 08, 2010 at 11:52:29AM -0700, Peter Phaal wrote: > Brad, > > Thanks for the information on spoofing in modules. > > > The way that I would envision an sflow module working would be > > similar to the spoofing example module that is currently checked > > into the Ganglia SVN repositor

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-08 Thread Peter Phaal
Brad, Thanks for the information on spoofing in modules. > The way that I would envision an sflow module working would be similar to the > spoofing example module that is currently checked into the Ganglia SVN > repository. The spoofing module can be found at > http://ganglia.svn.sourceforge.

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-08 Thread Brad Nicholes
>>> On 10/7/2010 at 3:56 PM, in message <6b7a9ac5-465d-4311-ac85-fd42c219d...@inmon.com>, Peter Phaal wrote: > Brad, > > Thanks for the feedback. My comments are in-line. > > On Oct 7, 2010, at 12:27 PM, Brad Nicholes wrote: > >> Sorry to jump into this thread so late but I thought that I woul

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-07 Thread Peter Phaal
Brad, Thanks for the feedback. My comments are in-line. On Oct 7, 2010, at 12:27 PM, Brad Nicholes wrote: > Sorry to jump into this thread so late but I thought that I would throw my 2 > cents in. > > I finally got a chance to take a look at the code. I was able to compile it > but ran in

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-07 Thread Brad Nicholes
>>> On 9/13/2010 at 3:07 PM, in message , "Peter Phaal" wrote: > We have started this project and the pieces seem to be falling into place > nicely. We already have the first metrics showing up in the web interface. > > The changes needed to implement sFlow support are contained entirely within >

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-09-15 Thread Neil McKee
Bernard, I posted a patch to bugzilla that adds sFlow support to gmond. We tested it with trunk revision 2339, against sFlow received from the reference implementation at http://host-sflow.sourceforge.net. http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=276 The host-sflow daemo

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-09-14 Thread Bernard Li
Hi Peter: On Mon, Sep 13, 2010 at 2:07 PM, Peter Phaal wrote: > We have started this project and the pieces seem to be falling into place > nicely. We already have the first metrics showing up in the web interface. Great news! > The changes needed to implement sFlow support are contained entir

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-09-13 Thread Peter Phaal
, we will send a patch containing the changes to gmond.c. Peter -Original Message- From: Bernard Li [mailto:bern...@vanhpc.org] Sent: Monday, August 09, 2010 10:04 PM To: Peter Phaal Cc: ganglia-developers@lists.sourceforge.net Subject: Re: [Ganglia-developers] sFlow counters in Ganglia Hi

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-08-09 Thread Bernard Li
Hi Peter: On Fri, Jul 30, 2010 at 5:01 PM, Peter Phaal wrote: > What does everyone think? Is this a worthwhile effort? Would there be > interest in incorporating this functionality in the next Ganglia release? I > don't have a lot of experience with Ganglia development, are there any > obviou

[Ganglia-developers] sFlow counters in Ganglia

2010-07-30 Thread Peter Phaal
I wanted to see if there was any interest in the Ganglia community in providing a way to incorporate sFlow counters in Ganglia. Looking at the source code it looks like it would be relatively straightforward to include modify gmond to allow an sflow_recv_channel (basically a udp_recv_channel lis