[rrd-users] Re: deciphering output of rrdtool dump
Fernando Nieto
fnieto at satec.es
Wed Apr 21 11:59:14 MEST 2004
Hello David, I don't know if there is any documentation but the output is
not difficult. The XML file contains all the RRD information, it's something
like a mixture of rrdtool info and fetch toghether.
The XML file has two "sections":
1- RRD general properties, including data sources definition
2- RRAs (properties and all database values)
<rrd>
<!-- Section 1 -->
<version> ... </version>
<step> ... </step>
<last_update> ... </last_update>
<ds> <!-- DS DEFINITION --> </ds>
<ds> <!-- DS DEFINITION --> </ds>
...
<!-- Section 2 -->
<rra> <!-- RRA PROPERTIES AND VALUES --> </rra>
<rra> <!-- RRA PROPERTIES AND VALUES --> </rra>
<rra> <!-- RRA PROPERTIES AND VALUES --> </rra>
</rrd>
DS Definition it has all the DS configuration parameters:
<ds>
<name> ... </name>
<type> ... </type>
<minimal_heartbeat> ... </minimal_heartbeat>
<min> ... </min>
<max> ... </max>
<last_ds> ... </last_ds>
<value> ... </value>
<unknown_sec> ... </unknown_sec>
</ds>
For every RRA defined, there is one <rra>...<rra> section:
<rra>
<cf> ... </cf>
<pdp_per_row> ... </pdp_per_row>
<xff> ... </xff>
<cdp_prep> <!-- for each ds --> </cdp_prep>
<database>
<!-- ALL DATABASE VALUES: ONE ROW PER RRA SAMPLE -->
<!-- EVERY ROW HAS N VALUES, ONE FOR EACH DS -->
</database>
</rra>
Every row within the database it has one comment with date and timestapm and
the row with one value per data source:
<!-- DATE / TS --> <row><v><!--ds0--></v><v><!--ds1--></v>...</row>
I hope this was helpfull for you.
best regards,
fernando
> -----Mensaje original-----
> De: rrd-users-bounce at list.ee.ethz.ch
> [mailto:rrd-users-bounce at list.ee.ethz.ch] En nombre de David
> L. Oppenheimer
> Enviado el: miércoles, 21 de abril de 2004 3:04
> Para: rrd-users at list.ee.ethz.ch
> Asunto: [rrd-users] deciphering output of rrdtool dump
>
> I was wondering if there is any documentation on how to
> decipher the output of rrdtool dump's XML output. The online
> documentation I found for it does not say anything about what
> the output means.
>
> Thanks for any pointers,
> David
>
> --
> 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
>
--
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