[rrd-users] recover from logged incorrect time

Simon Hobson linux at thehobsons.co.uk
Sat Apr 28 09:48:25 CEST 2007


Rob Conway wrote:
>I ahve a small emmbedded processor running rrdtools.  When the unit 
>starts up the time is incorrect and I have on a number of occasions 
>had the system log data with a time stamp that is 10hrs in front of 
>real time.  When the clock is corrected rrd will not accept the data 
>until the time stamp is greater than the last logged.  Anyway of 
>somehow forcing acceptance or deletion of last value that was logged.

No - the way the normalisation works I think it would be very 
difficult (if not impossible) to code this. If you have such problems 
with the clock then the obvious thing to do is put some checks in so 
that you do not stuff any data into the database until you are sure 
the clock is correct.



More information about the rrd-users mailing list