[rrd-users] Re: Deleting/Modifying data in RRD?

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Apr 1 20:37:08 MEST 2004


> Thanks a lot Miguel.  That worked great.  Here's what I ran:
> 
> rrdtool dump db.rrd > db.xml
> sed 's/oldvalue/newvalue' db.xml >tmp; mv tmp db.xml rrdtool 
> restore db.xml db.rrd
 
FYI..
You can even shorten that to:
rrdtool dump db.rrd | sed 's/oldvalue/newvalue/' | rrdtool restore -
db.rrd

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list