> I forgot to save the command line I used to create an rrd. 
> Is there an easy way to clone an rrd but leave the data and 
> the 'last updated' info behind?
> I want the resulting rrd to be empty like when I originally 
> created it.

[EMAIL PROTECTED] rrdtool info temp.rrd       
filename = "temp.rrd"
rrd_version = "0001"
step = 300
last_update = 1095609000
ds[a].type = "GAUGE"
ds[a].minimal_heartbeat = 450
ds[a].min = NaN
ds[a].max = NaN
ds[a].last_ds = "UNKN"
ds[a].value = 0.0000000000e+00
ds[a].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 12
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0

So that must have been:

rrdtool create temp.rrd -s 300 DS:a:GAUGE:450:U:U \
        RRA:AVERAGE:0.5:1:12

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

-------------
For the content of this e-mail message and its attachment(s) the following 
disclaimer applies: http://www.zeelandnet.nl/disclaimer.php

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to