[rrd-users] Re: The old "illegal attempt to update" problem

C. Bensend rrdtool at stinkweasel.net
Tue Aug 17 14:25:19 MEST 2004


> C. Bensend said:
>
>>    Or am I an idiot and I'm missing something fundamental?  I did search
>> for this answer before emailing the list, so hopefully I didn't miss the
>> answer to this...
>
>> last_update = 1092712700
>
> that date indicates
>
> Mon Aug 16 20:18:20 2004
>
> while one of the data points your trying to input to RRD translates
> to(1064725199):
> Sat Sep 27 21:59:59 2003

Yes, that is correct (and intended).

> not knowing exactly what your trying to do, I would think you
> may be able to solve the problem by re-creating the RRD and
> specifying the --start option to go back to the time when you
> want to start collecting data.

Sorry, didn't mean to omit that detail.

I am learning how to use RRD, so I'm constantly blowing away my RRD
databases and recreating them, to play with the parameters.  This
script is to take a brand new database and repopulate it with the last
year's worth of historical data.  Ie, bring an empty RRD up to the
current day, if you will.

> RRD won't update data points in the past as far as I know.

Ugh, you are absolutely correct - I've gone over that man page a bunch
of times, but I completely missed that.  And guess what - my script
now appears to be updating the RRD just fine after adding the --start
parameter to the create script.  :)

Thanks much!

Benny

--
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