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]>
On Wed, Aug 17, 2005 at 06:13:29PM -0400, Robert Story wrote:
> Well, it would have helped if I had attached the patch, eh? No worries, I'm
> certain as to what the results would be, so I've got a fix to test instead...
> Let me know if this helps.

Most peculiar..

With both patches (set-var-value.pat and int64-overflow.pat) it didn't
work, and when using -DALL the daemon crashed (segfault) once it gets a request 
from a client.

So I recompiled a fresh tarball with *only* the int64-overflow.pat
installed and that does fix it! (for me at least :)

See:

.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 59608851
.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 4017170158
.1.3.6.1.2.1.2.2.1.10.3 = Counter32: 231982920
.1.3.6.1.2.1.2.2.1.10.4 = Counter32: 0

And next sample:

.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 59609203
.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 43495081
.1.3.6.1.2.1.2.2.1.10.3 = Counter32: 231997236
.1.3.6.1.2.1.2.2.1.10.4 = Counter32: 0

Perfect roll-over seen by the 32 bit client!

So probably a small bug (oops, sorry.. feature :) has crept into the 
set-var-value.pat especially combined with the int64-overflow.pat

Still.. It's looking good from this end :)

								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.