OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004408 [netsnmp] upgrade minor always 2010-04-26 01:50 2013-12-02 16:41
Reporter niranjan View Status public  
Assigned To cgrzemba
Priority normal Resolution fixed  
Status closed  
Summary 0004408: Fix 64bit counters in Interface Traffic graphs.
Description I'm using latest CSWnetsnmp version to fix the netinterface 64bit Counter, even latest version also not showing 64bit counter, if I serach for 64bit Counter I'm getting only the following message.

VERSION 5.4.2.1,REV=2010.03.16

$ snmpwalk -v 2c -c public localhost|grep Counetr64
HOST-RESOURCES-MIB::hrSWRunParameters.15785 = STRING: "Counetr64"

I want fix gigabit ethernet interface traffic graph, please help me out on this.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007904)
niranjan (reporter)
2010-04-26 01:53

$snmpwalk -v 2c -c public localhost|grep Counter

IF-MIB::ifInOctets.1 = Counter32: 65630796
IF-MIB::ifInOctets.2 = Counter32: 272680722
IF-MIB::ifInUcastPkts.1 = Counter32: 213091
IF-MIB::ifInUcastPkts.2 = Counter32: 1735953
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.2 = Counter32: 605583
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.2 = Counter32: 29532
IF-MIB::ifOutOctets.1 = Counter32: 65638188
IF-MIB::ifOutOctets.2 = Counter32: 963019821
IF-MIB::ifOutUcastPkts.1 = Counter32: 213115
IF-MIB::ifOutUcastPkts.2 = Counter32: 1407787
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.2 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IP-MIB::ipInReceives.0 = Counter32: 1356008
IP-MIB::ipInHdrErrors.0 = Counter32: 0
IP-MIB::ipInAddrErrors.0 = Counter32: 96
IP-MIB::ipForwDatagrams.0 = Counter32: 0
IP-MIB::ipInUnknownProtos.0 = Counter32: 0
IP-MIB::ipInDiscards.0 = Counter32: 0
IP-MIB::ipInDelivers.0 = Counter32: 1141093
IP-MIB::ipOutRequests.0 = Counter32: 1403392
IP-MIB::ipOutDiscards.0 = Counter32: 0
IP-MIB::ipOutNoRoutes.0 = Counter32: 0
IP-MIB::ipReasmReqds.0 = Counter32: 18
IP-MIB::ipReasmOKs.0 = Counter32: 18
IP-MIB::ipReasmFails.0 = Counter32: 0
IP-MIB::ipFragOKs.0 = Counter32: 0
IP-MIB::ipFragFails.0 = Counter32: 0
IP-MIB::ipFragCreates.0 = Counter32: 0
IP-MIB::ipRoutingDiscards.0 = Counter32: 0
IP-MIB::icmpInMsgs.0 = Counter32: 5496
IP-MIB::icmpInErrors.0 = Counter32: 0
IP-MIB::icmpInDestUnreachs.0 = Counter32: 5481
IP-MIB::icmpInTimeExcds.0 = Counter32: 0
IP-MIB::icmpInParmProbs.0 = Counter32: 0
IP-MIB::icmpInSrcQuenchs.0 = Counter32: 0
IP-MIB::icmpInRedirects.0 = Counter32: 0
IP-MIB::icmpInEchos.0 = Counter32: 12
IP-MIB::icmpInEchoReps.0 = Counter32: 3
IP-MIB::icmpInTimestamps.0 = Counter32: 0
IP-MIB::icmpInTimestampReps.0 = Counter32: 0
IP-MIB::icmpInAddrMasks.0 = Counter32: 0
IP-MIB::icmpInAddrMaskReps.0 = Counter32: 0
IP-MIB::icmpOutMsgs.0 = Counter32: 1036
IP-MIB::icmpOutErrors.0 = Counter32: 0
IP-MIB::icmpOutDestUnreachs.0 = Counter32: 1024
IP-MIB::icmpOutTimeExcds.0 = Counter32: 0
IP-MIB::icmpOutParmProbs.0 = Counter32: 0
IP-MIB::icmpOutSrcQuenchs.0 = Counter32: 0
IP-MIB::icmpOutRedirects.0 = Counter32: 0
IP-MIB::icmpOutEchos.0 = Counter32: 0
IP-MIB::icmpOutEchoReps.0 = Counter32: 12
IP-MIB::icmpOutTimestamps.0 = Counter32: 0
IP-MIB::icmpOutTimestampReps.0 = Counter32: 0
IP-MIB::icmpOutAddrMasks.0 = Counter32: 0
IP-MIB::icmpOutAddrMaskReps.0 = Counter32: 0
TCP-MIB::tcpActiveOpens.0 = Counter32: 4995
TCP-MIB::tcpPassiveOpens.0 = Counter32: 15365
TCP-MIB::tcpAttemptFails.0 = Counter32: 8
TCP-MIB::tcpEstabResets.0 = Counter32: 4366
TCP-MIB::tcpInSegs.0 = Counter32: 318563
TCP-MIB::tcpOutSegs.0 = Counter32: 356321
TCP-MIB::tcpRetransSegs.0 = Counter32: 1740
TCP-MIB::tcpInErrs.0 = Counter32: 0
UDP-MIB::udpInDatagrams.0 = Counter32: 496890
UDP-MIB::udpNoPorts.0 = Counter32: 1029
UDP-MIB::udpInErrors.0 = Counter32: 0
UDP-MIB::udpOutDatagrams.0 = Counter32: 625670
SNMPv2-MIB::snmpInPkts.0 = Counter32: 49510
SNMPv2-MIB::snmpOutPkts.0 = Counter32: 49504
SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0
SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 6
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
SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 49693
SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0
SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 86
SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 49412
SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0
SNMPv2-MIB::snmpInTraps.0 = Counter32: 0
SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0
SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 1
SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0
SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0
SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0
SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 49528
SNMPv2-MIB::snmpOutTraps.0 = Counter32: 0
SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0
SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0
HOST-RESOURCES-MIB::hrDeviceErrors.1280 = Counter32: 0
HOST-RESOURCES-MIB::hrSWRunParameters.15840 = STRING: "Counter"
DISMAN-EVENT-MIB::mteResourceSampleInstanceLacks.0 = Counter32: 0 instances
DISMAN-EVENT-MIB::mteTriggerFailures.0 = Counter32: 0 failures
NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsLogged.0 = Counter32: 0 notifications
NOTIFICATION-LOG-MIB::nlmStatsGlobalNotificationsBumped.0 = Counter32: 0 notifications
(0007905)
dam (administrator)
2010-04-26 15:57

In http://www.net-snmp.org/about/ChangeLog.html [^] it says:
   Solaris, FreeBSD, OpenBSD:
      - Experimental support for 64bit interface counters (ifXTable). Enable
        via '--with-mib-modules=if-mib --enable-mfd-rewrites'.
Roger, could you please add these options and respin?
(0007906)
hson (developer)
2010-04-26 17:14

Well, I doubt that it would really help adding those options since neither Solaris8 or Solaris9 have Counter64 in /usr/include/inet/mib2.h (which configure checks for)
(0007907)
dam (administrator)
2010-04-26 17:15

I see, so this package would benefit from a separete Solaris 9 and 10 releases?
(0007908)
hson (developer)
2010-04-26 17:20

Seems so, yes.
(0007913)
niranjan (reporter)
2010-05-03 19:53

Hi,

Could you tell me when I can get the latest netsnmp package?

Thanks
Niranjan
(0007918)
niranjan (reporter)
2010-05-10 19:41

I'm waiting for the latest CSWnetsnmp since my project was stuck on this.
(0007924)
dam (administrator)
2010-05-12 10:59

I have build an additional set of packages for Solaris 10 with these flags enabled. Please see if this fixes your problem:
  http://mirror.opencsw.org/experimental.html#dam [^]
Roger: I put that in a separate branch netsnmp-5.4.2.1-bug4408. If it works it would be nice if you could merge it back and respin. However, the last test is failing for 5.4.2.1 so I disabled the testsuite and 5.5 is still not compiling correctly. Additionally, I couldn't find useful information in the bugtracker about the issue.
(0007925)
niranjan (reporter)
2010-05-12 18:03

netsnmp ver 5.4.2.1,REV=2010.05.12 is working and I'm getting the right values when I do snampwalk. Thanks for your help.

IF-MIB::ifHCInOctets.1 = Counter64: 505120
IF-MIB::ifHCInOctets.2 = Counter64: 14352123369
IF-MIB::ifHCInUcastPkts.1 = Counter64: 1640
IF-MIB::ifHCInUcastPkts.2 = Counter64: 67948932
IF-MIB::ifHCInMulticastPkts.1 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.2 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.1 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.2 = Counter64: 29240266
IF-MIB::ifHCOutOctets.1 = Counter64: 505120
IF-MIB::ifHCOutOctets.2 = Counter64: 7776704608
IF-MIB::ifHCOutUcastPkts.1 = Counter64: 1640
IF-MIB::ifHCOutUcastPkts.2 = Counter64: 36958440
IF-MIB::ifHCOutMulticastPkts.1 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.2 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.1 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.2 = Counter64: 30202
(0008847)
trammy (reporter)
2011-03-04 03:06

Hi Guys,

Wondering when this will be a tagged as a stable release for download?

Cheers
(0008905)
skayser (administrator)
2011-03-14 13:49

Just for clarification purposes, this issue affects counters exposed by snmpd itself, not the overall handling of 64-bit counters, right? Because when I use the version reported in this bug (5.4.2.1,REV=2010.03.16) to query 64-bit counters of a remote system this seems to work fine.

$ snmpwalk -v2c -cpublic myswitch ifXTable | grep Counter64
....
IF-MIB::ifHCOutBroadcastPkts.21 = Counter64: 603624603
IF-MIB::ifHCOutBroadcastPkts.22 = Counter64: 1012805637
IF-MIB::ifHCOutBroadcastPkts.23 = Counter64: 157912766
IF-MIB::ifHCOutBroadcastPkts.24 = Counter64: 919427397
(0008956)
trammy (reporter)
2011-04-12 04:54

Hi Skayser,

You're correct, snmpd can query 64 bit counters on another host, but we want to export 64bit counters to graph the hosts gig-ethernet ports correctly.
(0010449)
cgrzemba (developer)
2013-06-27 12:13

Can somebody check is the problem still exist in 5.6.1.1?
THX
(0010658)
cgrzemba (developer)
2013-12-02 16:41

I guess it is fixed, no (other) response


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker