[rrd-users] Re: updating rrd from another rrd

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Feb 10 19:39:15 MET 2005


> I mean, I can update it with dump/restore just by renaming 
> old ds to ds name used in new rrd, but maybe there is/can be 
> smarter and more automagic way to do that?

You can change ds-names with:

Rrdtool tune file.rrd -r old-name:new-name

Or you can do it in perl. Handy if you need to change more things.

rrdtool dump old.rrd | perl -pe 's/old_dsname/new_dsname/g' | rrdtool
restore - new.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