Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Andrew Thompson
On Tue, Dec 16, 2008 at 08:08:00PM +0100, Max Laier wrote: > On Tuesday 16 December 2008 19:27:49 Andrew Thompson wrote: > > On Tue, Dec 16, 2008 at 07:12:24PM +0100, Harti Brandt wrote: > > > On Tue, 16 Dec 2008, Sergey Matveychuk wrote: > > > SM>> > > > SM>> The highspeed counters are only there

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Max Laier
On Tuesday 16 December 2008 19:27:49 Andrew Thompson wrote: > On Tue, Dec 16, 2008 at 07:12:24PM +0100, Harti Brandt wrote: > > On Tue, 16 Dec 2008, Sergey Matveychuk wrote: > > SM>> > > SM>> The highspeed counters are only there if this is a high-speed > > interface. SM>> High speed means that the

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Andrew Thompson
On Tue, Dec 16, 2008 at 07:12:24PM +0100, Harti Brandt wrote: > On Tue, 16 Dec 2008, Sergey Matveychuk wrote: > SM>> > SM>> The highspeed counters are only there if this is a high-speed interface. > SM>> High speed means that the baudrate in the interface MIB (the one in the > SM>> kernel) must be

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Bruce Simpson wrote: BS>Harti Brandt wrote: BS>> The highspeed counters are only there if this is a high-speed interface. BS>> High speed means that the baudrate in the interface MIB (the one in the BS>> kernel) must be larger than 20Mbaud. BS>> BS> BS>Does it look at the i

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>Harti Brandt wrote: SM>> On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>> SM>> SM>Hello. SM>> SM> SM>> SM>Some weird thing has happened with 64bit counters: SM>> SM> SM>> SM>% snmpwalk -v2c -cpublic localhost ifInOctets SM>> SM>IF-MIB::ifInOctets

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Bruce Simpson
Harti Brandt wrote: The highspeed counters are only there if this is a high-speed interface. High speed means that the baudrate in the interface MIB (the one in the kernel) must be larger than 20Mbaud. Does it look at the if_baudrate member? em(4) and other drivers will set if_baudrate acc

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Sergey Matveychuk
Harti Brandt wrote: On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>Hello. SM> SM>Some weird thing has happened with 64bit counters: SM> SM>% snmpwalk -v2c -cpublic localhost ifInOctets SM>IF-MIB::ifInOctets.1 = Counter32: 4107815474 SM>... SM>IF-MIB::ifInOctets.16 = Counter32: 2894713654 SM> S

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>Hello. SM> SM>Some weird thing has happened with 64bit counters: SM> SM>% snmpwalk -v2c -cpublic localhost ifInOctets SM>IF-MIB::ifInOctets.1 = Counter32: 4107815474 SM>... SM>IF-MIB::ifInOctets.16 = Counter32: 2894713654 SM> SM>% snmpwalk -v2c -cpu

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Sergey Matveychuk
Sergey Matveychuk wrote: Hello. Some weird thing has happened with 64bit counters: % snmpwalk -v2c -cpublic localhost ifInOctets IF-MIB::ifInOctets.1 = Counter32: 4107815474 ... IF-MIB::ifInOctets.16 = Counter32: 2894713654 % snmpwalk -v2c -cpublic localhost ifHCInOctets IF-MIB::ifHCInOctets.1

bsnmpd & 64bits counters problem

2008-12-16 Thread Sergey Matveychuk
Hello. Some weird thing has happened with 64bit counters: % snmpwalk -v2c -cpublic localhost ifInOctets IF-MIB::ifInOctets.1 = Counter32: 4107815474 ... IF-MIB::ifInOctets.16 = Counter32: 2894713654 % snmpwalk -v2c -cpublic localhost ifHCInOctets IF-MIB::ifHCInOctets.1 = Counter64: 791106427975