JW> I can collect these metrics into Count32 and Count64 variables JW> respectively, but management systems using these MIBs will see JW> rollovers at 29 and 48. Is this acceptable?
No, unfortunately, it is not. The management station will get skewed data it doesn't expect if you do it that way. JW> I cannot believe that this situation has not been encountered JW> before. Unfortunately the right solution is to internally use a 32 bit counter to collect your internal 29 bit counter and then report the 32 bit counter. (or 64 and 48) IE, internally calculate the correct 32 bit value by tracking the state of your own 29bit counter. The values will eventually be very different internally, but that doesn't matter. JW> I don't think that they support odd rollover bit counts. The datatype for counters doesn't allow for this. It's designed for 32bit only or 64bit only. -- Wes Hardaker Please mail all replies to [email protected] ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
