On Sat, Dec 01, 2001 at 03:05:44PM -0800, Logg, Connie A. wrote: > There is (in cisco equipment at least) > an snmp variable that indicates how long it has been since the > counters were cleared. Read it an check if the time was since your last > reading. > If so, ignore one round of in&out counters. This also takes care of power > failures > and other glitches that may have caused the device to reset the counters.
Thanks - I modified this idea bit, so what I ended up doing was comparing the current value of *Octets with the previous value, and if the previous value is less than the current, skip the insert (the script exits). I'll see how this turns out next time a counter-reset occurs, also if this might conflict with rrdtools handling of 32bit/64bit counter overflows. -- Sune Stjerneby <[EMAIL PROTECTED],moof}.dk - http://dogcow.moof.dk/ - Clarus > * -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
