[rrd-users] Can I fill a hole in an rrd?
Koaps
koaps at yahoo.com
Wed Oct 28 00:36:14 CET 2009
Well according to the man page you can but rrdtool throws an error.
http://www.mail-archive.com/rrd-developers@lists.oetiker.ch/msg03067.html
You should be able to specify a negative time also but it does not work either, you will get an illegal attempt to update using time error.
From that thread it was supposed to be patched in, but I guess it broke again.
-c
--- On Tue, 10/27/09, Marc MERLIN <marc_rrd at merlins.org> wrote:
> From: Marc MERLIN <marc_rrd at merlins.org>
> Subject: Re: [rrd-users] Can I fill a hole in an rrd?
> To: "Koaps" <koaps at yahoo.com>
> Cc: rrd-users at lists.oetiker.ch
> Date: Tuesday, October 27, 2009, 2:31 PM
> On Tue, Oct 27, 2009 at 01:30:14PM
> -0700, Koaps wrote:
> > well, are you doing a xport then restore? or replaying
> the values using update?
> >
> > If you xport to xml you can find the timestamp range
> where the hole is, take the last successful update value and
> replace all the NaN's in the timestamp range with the last
> successful update value.
>
> I haven't done that yet since it's a different format than
> the one I used to
> load up the RRD, but my understanding is that it's still
> kind of the same
> problem that I have to stop updates, dump the file, fix it,
> restore it, and
> restart updates, which will give me a hole.
>
> I would really like to just feed the missing data samples
> in the RRD with
> a bunch of
> rrdtool update housepower_21.rrd
> 1242148828:500000853:500000071:500000070:499999218:499999999
> commands to feed data samples in the middle of the file
> (since I'm giving
> the time index) and not just at the end.
>
> Is that not possible?
>
> Marc
> --
> "A mouse is a device used to point at the xterm you want to
> type in" - A.S.R.
> Microsoft is to operating systems & security ....
>
>
> .... what McDonalds is to gourmet
> cooking
> Home page: http://marc.merlins.org/
>
More information about the rrd-users
mailing list