[rrd-users] rrdtool doesn't detect integer overflow
Oleg Derevenetz
oleg at vsi.ru
Wed Aug 22 10:54:00 CEST 2007
>> In this case, the counter wrap mechanism gets it wrong. It
>> isn't perfect and to the best of my knowledge it isn't
>> configurable either.
>
> You can effectively disable counter wrap handling by setting the
> DS type to DERIVE and the minimum value to 0 ...
>
> so whenever the counter becomes smaller than before, rrdtool will
> disregard that measurement.
>
> also in general it is a very good idea to set upper and lower
> bounds for your DSes, since this will also catch 'non-sensible'
> values.
But is there any way to say rrdupdate that there is no wrap ? For example, if I getting counters from network device interface, and
I really know that device was rebooted recently, is there any way to say rrdupdate that only THIS counter value should not be
wrapped, but all subsequent values should be wrapped when necessary ?
--
Oleg Derevenetz <oleg at vsi.ru> OOD3-RIPE
Phone: +7 4732 539880
Fax: +7 4732 531415 http://www.vsi.ru
CenterTelecom Voronezh ISP http://isp.vsi.ru
More information about the rrd-users
mailing list