[smokeping-users] time error in VM - RRDs out of sync?

Gregory Guthrie guthrie at mum.edu
Sat Jul 6 00:48:01 CEST 2019

I moved my smokeping hosting system to a new VM, and now it is failing with an error from what seems to be a difference in time/clocks in VMs, what seems to be a known problem.

I think I reset the clocks properly, and the RTC is now in sync, but perhaps the RRD history files are now out of sync?

How to recover??

Calling RRDs::update(/var/lib/smokeping/World/MUM_CS/SomeSystem.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1562366484:U:0:1.0400000000e-03:5.8000000000e-04:6.0000000000e-04:6.1000000000e-04:6.1000000000e-04:6.2000000000e-04:6.4000000000e-04:7.1000000000e-04:7.6000000000e-04:7.8000000000e-04:9.1000000000e-04:1.0400000000e-03:1.0500000000e-03:1.1000000000e-03:1.8100000000e-03:3.1200000000e-03:5.9300000000e-03:6.4400000000e-03:7.9900000000e-03:8.0500000000e-03:1.0810000000e-02)
RRDs::update ERROR: /var/lib/smokeping/World/MUM_CS/ SomeSystem.rrd: illegal attempt to update using time 1562366484 when last update time is 1562395151 (minimum one second step)

Do I need to delete all current RRD files? (and lose all history!)

root at alpha:/etc/smokeping/config.d# timedatectl
      Local time: Fri 2019-07-05 17:44:27 CDT
  Universal time: Fri 2019-07-05 22:44:27 UTC
        RTC time: Fri 2019-07-05 22:45:08
       Time zone: America/Chicago (CDT, -0500)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20190705/d9d22cbc/attachment.html>

More information about the smokeping-users mailing list