Rrd error updating dating messaging with anna 21 poltava
The df plugin for collectd uses /proc/mount to determine which drives to check free space on and if / is in there twice, it tries to update the entry for / twice and causes the problem.
The solution is to add the following to the /etc/collectd/file: Then I restarted collectd and my logs were peaceful again.
Do not specify a value for a was acquired at a certain time.The original issue may be different, but lacks the details necessary for debugging.Please open another issue or ask via IRC or on the mailinglist in case of doubt. The original issue may be different, but lacks the details necessary for debugging.Aug 20 mythbox collectd: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/mythbox/df-root/df_complex-free.rrd) failed: /var/lib/collectd/rrd/mythbox/df-root/df_complex-free.rrd: illegal attempt to update using time 1345444032 when last update time is 1345444032 (minimum one second step) It was adding one message like that every second so my logs were completely full of it.
Google didn’t reveal much except that this sort of error is either because there are two instances of RRD trying to write the RRD database at the same time, or that my server’s date and time are way out of sync. I asked on #collectd on freenode and a very nice person by the name of tokkee told me that it’s a known issue of sorts.You can calculate the time it will take before the RRD files will start to update again: 1341675817 seconds – 1341654743 seconds = 21047 / 60 to calculate minutes / 60 to calculate hours = 5.8 hours.If you will check again in an hour or so you will see that the 5.8 will change to around 4.8.This time can either be defined in seconds since 1970-01-01 or by using the letter 'N', in which case the update time is set to be the current time.