[rrd-users] Re: How to save and graph NON-averages

Tobias Oetiker oetiker at ee.ethz.ch
Tue Sep 26 07:32:00 MEST 2000


Today you sent me mail regarding [rrd-users] Re: How to save and graph...:

AvdB> Tobi decided, probably for good reasons, not to accept negative times.
AvdB> I can only guess at this but my guess is that it has to do with overflow
AvdB> detection or with problems on certain platforms.
AvdB> 
AvdB> If negative times are not allowed, the first possible time in an RRD is
AvdB> exactly januari 1st, 1970, 00:00 UTC.
AvdB> 
AvdB> If a database should contain intervals of 86400 seconds, the first will
AvdB> start on 19700101 00:00 UTC and will end on 19700102 00:00 UTC.

I am storing time as time_t ... for savty reasons I put a test in
which prevents you from creating any database before 1980 ... this
could be changed to 1970 ... with some code review necessary ... 

I did not expect anybody to be using rrdtool for real old data :-) 

cheers
tobi
-- 
 ______    __   _
/_  __/_  / /  (_) 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-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list