How to add new rra to existing rrd file

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
chopin
Posts: 1
Joined: Wed Mar 15, 2006 4:43 am

How to add new rra to existing rrd file

Post by chopin »

hello,
some time ago i create rrd:
rrdtool create file.rrd \
--step 60 \
DS:traffic_in:COUNTER:120:0:10000000 \
DS:traffic_out:COUNTER:120:0:10000000 \
RRA:AVERAGE:0.5:1:43200 \
RRA:AVERAGE:0.5:5:51840 \
RRA:AVERAGE:0.5:30:34560 \
RRA:MAX:0.5:1:43200 \
RRA:MAX:0.5:5:51840 \
RRA:MAX:0.5:30:34560 \

I want do add:
RRA:AVERAGE:0.5:120:43800 \
RRA:MAX:0.5:120:43800 \

and dont loose existing data. It is possible to do this ? If yes, how ?

Regards
Adam Chabin
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I don't think there is a command that will do that for you...easily. Look through the rrdtool commands http://people.ee.ethz.ch/~oetiker/webto ... ex.en.html

You'll probably have to dump the contents, create a new file and then maybe it will import it back to the new file. If not, you'll have to modify the data while in the dumped state, then reimport back to rrd file.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests