On Wed, 17 Aug 2005 08:25:08 +0200 Arno wrote:
AG> But the start value reported by snmpd is OK.
AG> 
AG> Only when it starts to add bytes to the counter does it somehow manage to
AG> exceed the 32 bit boundary. It's like it doesn't check if the added
AG> bytes to the counter needs to be wrapped in the Counter32 case.
AG> 
AG> So it's not the initial readout of the caounters. That's working fine.
AG> It's only after it has been running for a while and then hits the 32 bit
AG> limit when it doesn't wrap the 32 bit value to 0, but keeps counting.

Ok, that would seem to indicate a problem with the math. Can you apply this
patch and let me know if any asserts show up in your logs when you get the
counter overflow? I think you will, but want to be sure...

(I hope this is easy for you to reproduce.. it seems like it is.)

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to