Re: Adding data in the past

Steve Shipway <[email protected]> Wed, 9 Mar 2016 21:49:44 +0000
Newsgroups gmane.comp.db.rrdtool.user
Message-ID <5820DC553954E44FA1A36C78323AD148A40E3D49@uxcn10-tdc06.UoA.auckland.ac.nz>
> I want to add data in the past but cannot figure how to do so.

As Simon pointed out, you cannot do this, by design.  RRDTool performs
continuous consolidation of data which would not be possible were you able
to add data in the past.

If you have a large amount of historical data to add in one go, then you
could do it by creating a separate RRD file for this new data, then using an
RRD merge function to merge the two together.  I have an rrdmerge script in
the 'extras' directory of the Routers2 software distribution you can use,
and several other people have also created merge scripts; I think Tobi has
added merge functionality into the RRDTool 1.5 branch as well now.  This is
not ideal, though, as you still get a hiccup in RRA items which overlap both
sets, and you need to pick which RRD to use for which time window.  

Steve

Steve Shipway
T: +64 9 3737 599 ext 86487
E: [email protected]

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
smime.p7s (application/pkcs7-signature, 5.2 KB) - not displayed