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: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] En nombre de David 
> L. Oppenheimer
> Enviado el: miƩrcoles, 21 de abril de 2004 3:04
> Para: [email protected]
> 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:[EMAIL PROTECTED]
> Help        mailto:[EMAIL PROTECTED]
> Archive     http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 

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

Reply via email to