[rrd-users] delayed updates
Dan Cech
dcech at phpwerx.net
Tue Nov 13 18:35:33 CET 2007
Mike Perham wrote:
> We have a monitoring service which collects metrics. If that service
> is down, we queue up the stats to be pushed into RRD later. Once the
> service comes back online, we want to push the latest metric data
> along with the older data (not all at once so as to not overwhelm the
> service once it is back online) so we can fill in the gap in RRD. My
> question is with rrdupdate, it does not like updating an RRD file with
> older data. If we push current data into an RRD file, is it possible
> to push older data into it since the lastupdated timestamp will be
> greater? Is it possible to fill in the gap without having to send all
> the old data at once?
You need to queue your updates and send them to rrdtool in order. It is
not possible to go back and 'fill in' the old data.
>From the sounds of your setup you already have a queue mechanism, so I
would recommend having the collector just push data onto the queue, then
use a separate process to feed the elements to rrdtool in order.
Dan
More information about the rrd-users
mailing list