Cannot get stats information for interface |eth1| - Any help please?

Jenny Liew <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CADyokX01NYA7bAaTuSh7w3yooY-YanNumCSKPe0z=PBY=yFNGw@mail.gmail.com>
Hi,
I'm working with net-snmp-5.6.1.1 on Linux CentOS 5.7 32bit.
I've build the package with ./configure --with-mib-modules=etherlike-mib.

I need to be able to retrieve the information listed below from the
etherlike-mib.

dot3StatsSingleCollisionFrames
dot3StatsMultipleCollisionFrames
dot3StatsDeferredTransmissions
dot3StatsLateCollisions
dot3StatsExcessiveCollisions
dot3StatsCarrierSenseErrors
dot3HCStatsAlignmentErrors
dot3HCStatsFCSErrors
dot3HCStatsInternalMacTransmitErrors
dot3HCStatsFrameTooLongs
dot3HCStatsInternalMacReceiveErrors
dot3HCStatsSymbolErrors


When i start the snmpd, I would expect that a bulk request to
dot3StatsAlignmentErrors would return some kind of stats.

snmpbulkget -v 3 -a MD5 -A "password" -l authPriv -u username -x DES -X
"password" udp:192.168.0.7:161 dot3StatsAlignmentErrors

This is what i receive instead
SNMPv2-MIB::snmpInPkts.0 = Counter32: 114
SNMPv2-MIB::snmpOutPkts.0 = Counter32: 56
SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0
SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 12
SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0
SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0
SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0

If i do a single get request, the response is:
EtherLike-MIB::dot3StatsAlignmentErrors.1 = No Such Instance currently
exists at this OID

In the demon dump i find:
access:dot3StatsTable,interface_ioctl_dot3Stats_get, cannot get stats
information for interface |eth1|
access:dot3StatsTable,interface_ioctl_dot3Stats_get, cannot get stats
information for interface |eth2|

In the net-snmp-config.h i've got  #define HAVE_LINUX_ETHTOOL_H 1 and this
will enable the ETHTOOL_GSTATS.

I thought that by building the net-snmp package specifying the etherlike-mib
module would have been enough for the demon.
Is there anything I've missed?
I've checked the posts in the forum without any luck, but if the problem has
already been solved can you please redirect me to the solution?

Many thanks

-- 
Best Regards,
*Jenny*

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct

_______________________________________________
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.