[rrd-users] changing system ti
Simon Hobson
linux at thehobsons.co.uk
Mon Sep 1 15:40:30 CEST 2008
Jack Tavares wrote:
>When the system time changes backwards,
That is your problem
> and I do an rrd update I get
>Error illegal attempt to
>update using time 1216080241 when last update time is 1216088161 (minimum one
>second step)
>
>I am specifying the update time in the update command.
>
>will using -N instead of a timestamp eliminate this issue?
No
>If not, what do other people do in this case?
The rather unhelpful answer is "don't start from here" ! Your system
time should not change backwards, and the simple answer is to keep
the time accurate (NTP is good for this).
By far the easiest way to deal with it is just wait the 2.2 hours you
set the clock back by and it will recover on it's own - BUT you will
effectively lose 2.2 hours of data. If you REALLY need the data then
you'll have to export the entire RRD database, modify the data in it,
then import it into a new database.
More information about the rrd-users
mailing list