Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

Arno Griffioen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi!

> D> We have had this issue for some time and from the change log, I
> thought
>  D> that this was fixed.
>  D> 
>  D>   2004-12-10 08:49  rstory
>  D>      * agent/mibgroup/if-mib/data_access/interface_common.c:
>  D> 
>  D>      apply patch 1073897: fix if-mib data access 64bit counter wrap
>  D> detection
>  
>  nO, THis was a different issue. The issue you are seeing should be fixed by
>  this patch:
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1259966&group_id=12694&atid=456380
 

I'm seeing the same problem, but unfortunately the patch does not fix
it for me (NetSNMP 5.2.1.2, Linux 2.6.12, AMD64).

On the 64bit x86-64 machine (with the above patch applied) locally with 
snmpwalk I see this (note line 2 which is significantly larger than 32
bit):

.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 48553934
.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 7273884047
.1.3.6.1.2.1.2.2.1.10.3 = Counter32: 194131144
.1.3.6.1.2.1.2.2.1.10.4 = Counter32: 0
.1.3.6.1.2.1.2.2.1.10.5 = Counter32: 1318592196

It still happily stuffs 64-bit values in the Counter32 field and that
causes a 32 bit client machine to get '0' values back with snmpget and
duplicates with snmpwalk:

.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 48553934
.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 48553934
.1.3.6.1.2.1.2.2.1.10.3 = Counter32: 194131144
.1.3.6.1.2.1.2.2.1.10.4 = Counter32: 0
.1.3.6.1.2.1.2.2.1.10.5 = Counter32: 1318592196


$ snmpget -c aabbccdd -Ofn -v 2c www.xxx.yyy.zzz .1.3.6.1.2.1.2.2.1.10.2                      
.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 0

							Bye, Arno.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.