bsnmpd & 64bits counters problem

Harti Brandt hartmut.brandt at dlr.de
Tue Dec 16 09:18:20 PST 2008


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 -cpublic localhost ifHCInOctets
SM>IF-MIB::ifHCInOctets.1 = Counter64: 7911064279758
SM>...
SM>IF-MIB::ifHCInOctets.4 = Counter64: 13143091216588
SM>
SM>There are all 16 32bits counters but only 4 64bits. That's less than physical
SM>interfaces on this router (em0-em5).
SM>
SM>7.1-PRERELEASE

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.

harti


More information about the freebsd-net mailing list