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

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

2007-04-29 Thread Paul Millar
Hi Nick, On Sunday 29 April 2007 16:18:00 Nick Galbreath wrote: > http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=143 [...] > (and attached here). [...] > More notes are in the bugzilla. > > comments most welcome. I've only had a quick scan over the patches, but a few comments: w

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

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

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

2007-04-26 Thread Jeff Gerard
Hi Ganglioids, I see from the archives that this has been mentioned a number of times over the years, but I can't help asking again: Is there a patch available to support using the RRDtool COUNTER and DERIVE data types with gmetric? I want to graph some of the stats from 'netstat -s'. Munin uses