I am using SNMP (from the port net-mgmt/net-snmp, v5.7.2, compiled with "MFD_REWRITES") on a FreeBSD9.1-RELEASE system. For some reason, the ifXTable MIB (1.3.6.1.2.1.31.1.1.1) seems to be missing the HC counters (like ifHCInOctets
(1.3.6.1.2.1.31.1.1.1.6) for example).
get (noSuchName) There is no such variable name in this MIB.
snmpget localhost <hostname> 1.3.6.1.2.1.31.1.1.1.6.5
snmpget localhost <hostname> ifHCInOctets.5
snmp error index = 1
And when listing 1.3.6.1.2.1.31.1.1.1 I get
usbus0 ifName.1
...
vr0 ifName.5
...
re0 ifName.8
...
re0.10 ifName.12
...
tun0 ifName.17
...
79144352 ifInMulticastPkts.5
...
120009 ifInMulticastPkts.8
...
43670 ifInMulticastPkts.12
...
0 ifInBroadcastPkts.5
...
0 ifOutMulticastPkts.5
...
0 ifOutBroadcastPkts.5
...
100 ifHighSpeed.5
...
1000 ifHighSpeed.8
...
false ifPromiscuousMode.5
...
true ifConnectorPresent.5
...
ifAlias.5
...
0:00:00 ifCounterDiscontinuityTime.5
...
To me it seems as if "a lot" was there. But not the ifHC[In|Out]Octets
...
As you can see my interfaces use the "vr" (Via Rhine) and "re" (Realtek). Does anyone have a hint?