Collecting 64bit interface statistics from a Linux machine with gbit interface

Thomas Westlund <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I'm trying to collect 64bit interface statistics on a debian server
using snmp.

I have gigbit interfaces so 32bit counting doesn't work so well.

The agent I'm polling is of the following version: NET-SNMP 5.2.2
This is a standard apt binary package (and the newest available).

My snmpd.conf looks like this

"rocommunity ****

syslocation whererever
syscontact [email protected]
agentgroup snmp
agentuser snmp"

I have figured as much as that the correct MIB to poll should be
"ifHC(in/out)Octets"  however I'm unable to find this MIB using the
snmpwalk command:

"snmpwalk -c **** -v 2c localhost ifHCInOctets"

The reply i get is:
"IF-MIB::ifHCInOctets = No Such Object available on this agent at this
OID"

I have also tried the numerical OID: .1.3.6.1.2.1.31.1.1.1.6, with the
same result.

The following command works just fine:

#snmpwalk -c **** -v 2c localhost ifInOctets"

"IF-MIB::ifInOctets.1 = Counter32: 975280074
IF-MIB::ifInOctets.2 = Counter32: 1756690188
IF-MIB::ifInOctets.3 = Counter32: 0"


Is there any special trick to make the snmp-agent aware of the 64bit
interface counters or am I missing something else?


-- 
Thomas Westlund
Aftenposten AS, UNIX/nettverksavd.
Postboks 1, 0051 Oslo

Tlf.: +47 98 20 30 33



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.