Re: [snmpsim-users] 32 bit and 64 bit counter wrapping
Brought to you by:
elie
|
From: Ilya E. <il...@gl...> - 2013-05-01 20:22:14
|
Hi Vamsi, Yes, the value should continue incrementing upon wrapping. The configuration should be simple: 1.3.6.1.2.1.2.2.1.13.1|65:numeric|wrap=1 so the value would start at 0 and increment once per second till 2**32 is reached. Once there it wraps back to 0. Module description here: http://snmpsim.sourceforge.net/simulation-with-variation-modules.html#numeric However there have been many bugs found and hopefully fixed in the numeric.py module lately. So it may be easier for you to upgrade to 2.2rc0: http://sourceforge.net/projects/snmpsim/files/snmpsim/0.2.2/snmpsim-0.2.2rc0.tar.gz/download to current development version: http://snmpsim.cvs.sourceforge.net/viewvc/snmpsim/snmpsim/?view=tar -ilya On May 1, 2013, at 9:31 PM, Vamsi Krishna Konakalla wrote: > Dear Ilya, > > Does the 32 and 64 bit counters in snmpsim 2.1 increment linearly after wrapping? Can you give a small example. I know that currently we have increasing counter, and once counter reaches threshold, it wraps to 0 or max, but I am not sure, if it increments again after wrapping. > > Vamsi |