On 12/28/06, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> tor 2006-12-28 klockan 09:33 -0300 skrev Gonzalo Arana:
>
> > Having negative values for a counter does not seem right to me.
>
> None of the counters is negative in SNMP. All exposed as Counter32 which
> is unsigned 0 -> 2^32-1 where it wraps around.
But in cache manager they are printf'ed as "%d", so negative values
may show up there.
> > > I'm fine with making the counter a long internally if that helps, but I
> > > just don't see the point of making it a 64-bit SNMP counter.
> >
> > It was just a thought anyway.
>
> Hmm.. the select_loops counter isn't even in the MIB it seems.. We
> should export this and the other syscall counters somewhere..
That would be nice indeed.
Regards,
-- Gonzalo A. AranaReceived on Thu Dec 28 2006 - 14:19:31 MST
This archive was generated by hypermail pre-2.1.9 : Sat Dec 30 2006 - 12:00:04 MST