[rrd-users] global data value change?
rrd-users at sisyphus.ch
Fri Mar 9 16:22:58 CET 2007
On Fri, Mar 09, 2007 at 03:40:20PM +0100, Alex van den Bogaerdt wrote:
> On Fri, Mar 09, 2007 at 11:18:07AM +0100, christian wrote:
> An easy way? Don't do this!
i know. ;-(
> Of course if you are not prepared with the overhead involved, you have
> no other option than to alter the data in your database. This would
> probably involve some scripting to be efficient, but basically it would
> be the following:
> rrdtool dump your.rrd > dumpfile.xml
> [using your favorite editor and calculator, modify data]
> rrdtool restore dumpfile.xml copy_of_your.rrd
> [verify integrety of copy_of_your.rrd]
> [rename copy_of_your.rrd to your.rrd, thereby destroying your old rrd file]
that will be my way - future values will arrive properly multiplied,
already, so a one-time action will serve me well.
thank you very much!
More information about the rrd-users