<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
You can use rrdtool dump to convert xml sections as fallow (green
in xml):<br>
<br>
<?xml version="1.0" encoding="utf-8"?><br>
<!DOCTYPE rrd SYSTEM
<a class="moz-txt-link-rfc2396E" href="http://oss.oetiker.ch/rrdtool/rrdtool.dtd">"http://oss.oetiker.ch/rrdtool/rrdtool.dtd"</a>><br>
<!-- Round Robin Database Dump --><br>
<rrd><br>
<version>0003</version><br>
<step>300</step> <!-- Seconds --><font
color="#006600"> --step 300</font><br>
<lastupdate>1362087354</lastupdate> <!--
2013-02-28 22:35:54 CET --><br>
<br>
<ds><br>
<name> temp </name><br>
<type> GAUGE </type><br>
<minimal_heartbeat>600</minimal_heartbeat><br>
<min>-2.7300000000e+02</min><br>
<max>5.0000000000e+03</max><br>
<br>
<!-- PDP Status --><br>
<last_ds>U</last_ds><br>
<value>0.0000000000e+00</value><br>
<unknown_sec> 54 </unknown_sec><br>
</ds><font color="#006600">
DS:temp:GAUGE:600:-273:5000 \</font><br>
<br>
<rra><br>
<cf>AVERAGE</cf><br>
<pdp_per_row>1</pdp_per_row> <!--
300 seconds --> <br>
<br>
<params><br>
<xff>5.0000000000e-01</xff> <br>
</params><br>
<cdp_prep><br>
<ds><br>
<primary_value>0.0000000000e+00</primary_value><br>
<secondary_value>0.0000000000e+00</secondary_value><br>
<value>NaN</value><br>
<unknown_datapoints>0</unknown_datapoints><br>
</ds><br>
</cdp_prep><br>
<database> <font color="#006600">count </font><font
color="#006600"><font color="#006600">number of </font>rows get<i>
</i></font><i>rows</i> <font color="#006600">parameter, (last </font><font
color="#006600"><font color="#006600">parameter </font>in </font>RRA:AVERAGE
| MIN | MAX | LAST:xff:steps:rows)<br>
[... Truncate ...]<br>
<database><br>
</rra> <font color="#006600">RRA:AVERAGE:0.5:1:1200</font><br>
</rrd><br>
<br>
So the last dump is translate as this assembly instructions :<br>
<pre> rrdtool create temperature.rrd --step 300 \
DS:temp:GAUGE:600:-273:5000 \
RRA:AVERAGE:0.5:1:1200 </pre>
<br>
I believe it's the only way to retrieve rrdtool create parameter.<br>
<br>
Regards<br>
<br>
Yannick Marquet.<br>
<br>
Le 28/02/2013 03:37, Rod a écrit :<br>
</div>
<blockquote
cite="mid:4184c922f99715b547195a3b8e4379a2@www.rods.id.au"
type="cite">
<p>Hi,</p>
<p> </p>
<p>I made a RRD 5 years ago, and I would like to make some more
with the same parameters, but I cannot remember the whole string
for the rrdcreate command</p>
<p> </p>
<p>Is there a way to inspect the archive to extract the
information to make a new archive the same (but different DS
names)</p>
<div> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rrd-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a>
</pre>
</blockquote>
<br>
</body>
</html>