On Thu, Mar 31, 2011 at 11:18 AM, Neil Mckee <[email protected]> wrote:

> (2). The impossible-counter-delta sanity checks in hsflowd depend on whether 
> the field is 32-bit or 64-bit.   The upper limit for a 32-bit counter delta 
> is 0x7FFFFFFF (about 2e9) and for a 64-bit counter it is 1e13.  These checks 
> are applied to the frames and bytes counters,  but if either check fails then 
> the sequence number is reset for the whole counter-block -- which invalidates 
> all the counter-deltas for that polling-interval.  In other words,  if the 
> bytes_in counter jumps crazily then we won't believe the frames, errors or 
> drops counters either.
>
> looking at libmetrics/linux/metrics.c,  it does seem that compiling with 
> -DREMOVE_BOGUS_SPIKES will do more or less the same as (2).

I wonder if it's possible to implement this sanity check as a
gmetad-python plugin.  This way, the user can enable/disable this
feature on-demand without having to re-compile code.

Thoughts?

Cheers,

Bernard

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to