[rrd-developers] Re: Restarting devices

Tobias Oetiker oetiker at ee.ethz.ch
Sun Jan 23 22:43:04 MET 2000


Today you sent me mail regarding [rrd-developers] Re: Restarting devices:

*> Tobi,
*> 
*> > what would that buy you, knowing the 'last' value ? RRD knows it
*> internally,
*> > so if there is anything interessting we can do with it, let me know ...
*> > RRD already checks if it is smaller than the last value recorded ...
*> 
*> What happens if at time t-1 I read the value 1000 from my router ifInOctets
*> via SNMP. At time t I read 500... the counter is suposed to behave as an
*> increasing value... how will RRDtool handle that? Will it store NaN?

yes unless -500+2^32-1 / 1 or -500+2^64-1 / 1  is between the two border
values specified for the DS ...


*> I had the same spike problems that Bert Driehuis had when the equipment is
*> reset, which makes all my graphs unusable. Yes, I can force the min and max
*> with 0 and the ifSpeed value, but it might not work all the time. Some
*> spikes might appear.

sure ... 

*> What should I do? My idea was to check manually if the current value is
*> lower than the last value, and then store a NaN in this case.

you could use the 'DERIVE' data type this is like counter but does not do
any COUNT overflow magic, so if you give a min value of 0 you will get NaN
for most of your resets ... another nice aporoch is to monitor the uptime of
your equipment and store a U everytime you find that the device got reset
...

cheers
tobi

*> 
*> Best Regards,
*> Luis F Balbinot
*> 
*> --
*> Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
*> Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
*> Archive     http://www.ee.ethz.ch/~slist/rrd-developers
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers



More information about the rrd-developers mailing list