[rrd-users] Make new RRAs in an existing database?
Shawn
core at enodev.com
Thu Dec 4 05:50:46 MET 2003
Let's say I wanted to create a 10 and/or 20 yr roll-up in a database
that already exists. Would I:
1. somehow just add the RRA
2. create a new database including the desired RRAs and fetch, then
import the data
I just don't want to go through the work of doing #2 if there's an
easier way...
Below is a snippet of Perl for creating my weather database for any
given location: (criticism appreciated)
RRDs::create ($rrdfile,"--start",$time-1800,
"DS:temp:GAUGE:1800:U:U",
"DS:temp_c:GAUGE:1800:U:U",
"DS:heat:GAUGE:1800:U:U",
"DS:wind:GAUGE:1800:U:U",
"DS:humi:GAUGE:1800:U:U",
"DS:dewp:GAUGE:1800:U:U",
"RRA:AVERAGE:0.5:1:96",
"RRA:AVERAGE:0.5:1:672",
"RRA:AVERAGE:0.5:4:744",
"RRA:AVERAGE:0.5:24:1460",
"RRA:AVERAGE:0.5:48:1460",
"RRA:MAX:0.5:1:96",
"RRA:MAX:0.5:1:672",
"RRA:MAX:0.5:4:744",
"RRA:MAX:0.5:24:1460",
"RRA:MAX:0.5:48:1460",
"RRA:MIN:0.5:1:96",
"RRA:MIN:0.5:1:672",
"RRA:MIN:0.5:4:744",
"RRA:MIN:0.5:24:1460",
"RRA:MIN:0.5:48:1460"
);
--
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