[rrd-users] Re: update old times
Alex van den Bogaerdt
alex at ergens.op.HET.NET
Wed Apr 17 17:36:24 MEST 2002
Morgan Fruchtnicht wrote:
> This seems like an obvious question, but I can't find it
> on the rrd web site -
> rrd won't let me update a time that is prior to the most
> recent update. I want to do this to set occasional hiccups
> in data collection to 0 so it doesn't goof up my numbers
> when it's all said and done.
That's right. You cannot update old values.
> How does(can?) one do this?
What you can do is make an ascii dump of the database, edit that
dump and then restore it again. You will have to alter each RRA
involved.
RTFM for "rrdtool dump" and "rrdtool restore" for the ascii dump.
Altering the values requires a little bit of knowledge of the RRD
format, which isn't hard to find. In short:
RRA = n rows of n datasources;
each row describes (time-interval) to (time)
HTH
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
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