On Fri, 2005-10-21 at 17:32 -0500, Les Mikesell wrote: > What's supposed to happen when the value doesn't fit in a Counter32?
The Counter32 value will report the bottom 32-bits (with the higher bits simply being discarded). Remember that in the SNMP world, an individual Counter-based value has no meaning. Counter32 (and Counter64) object are used to monitor the *difference* between two successive readings. So: ifconfig eth1 ; sleep 60 ; ifconfig eth1 might report eth1 TX bytes:33033390619 (31503.0 Mb) eth1 TX bytes:33033391619 (31503.0 Mb) while snmpget eth0 ; sleep 60 ; snmpget eth0 might report ifOutOctets.1 = 149182455 ifOutOctets.1 = 149183455 The raw numbers are different, but the delta: 33033391619 - 33033390619 = 1000 149183455 - 149182455 = 1000 is the same. That's how SNMP Counters work. Dave ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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