[rrd-users] Re: XML DTD or schema for output of rrdtool dump, xport
Wolfgang Schrimm
wolfgang.schrimm at urz.uni-heidelberg.de
Wed Oct 16 19:36:31 MEST 2002
Hi Larry,
Larry Mulcahy wrote:
> My humble question:
>
> Is there an XML DTD or schema for the output of the
> rrdtool 'dump' and 'xport' commands?
>
here my dtds for the xport and the dump output. Maybe Tobi adds the
files to the rrdtool distribution.
--
Wolfgang
--------------------------------------------------------------
<!-- rrdtool-xport.dtd -->
<!-- the attributes of the row and the t elements are used -->
<!-- in the examples/shared-demo.pl, but not in the output -->
<!-- of the native xport command. -->
<!-- wolfgang.schrimm at urz.uni-heidelberg.de -->
<!-- root element -->
<!ELEMENT xport (meta, data)>
<!-- root's children -->
<!ELEMENT meta (start, step, end, rows, columns, legend)>
<!ELEMENT data (row+)>
<!-- meta's children -->
<!ELEMENT start (#PCDATA)>
<!ELEMENT step (#PCDATA)>
<!ELEMENT end (#PCDATA)>
<!ELEMENT rows (#PCDATA)>
<!ELEMENT columns (#PCDATA)>
<!ELEMENT legend (entry+)>
<!-- legend's children -->
<!ELEMENT entry (#PCDATA)>
<!-- data's children -->
<!ELEMENT row (t, v+)>
<!ATTLIST row id CDATA #IMPLIED>
<!-- row's children -->
<!ELEMENT t (#PCDATA)>
<!ATTLIST t is CDATA #IMPLIED>
<!ELEMENT v (#PCDATA)>
--------------------------------------------------------------
--------------------------------------------------------------
<!-- rrdtool-dump.dtd -->
<!-- wolfgang.schrimm at urz.uni-heidelberg.de -->
<!-- root element -->
<!ELEMENT rrd (version, step, lastupdate, ds+, rra+)>
<!-- rrd's children -->
<!ELEMENT version (#PCDATA)>
<!ELEMENT step (#PCDATA)>
<!ELEMENT lastupdate (#PCDATA)>
<!-- There are two different elements with the same name -->
<!-- /rrd/ds and /rrd/rra/cdp_prep/ds -->
<!ELEMENT ds ((name, type, minimal_heartbeat, min, max, last_ds, value,
unknown_sec)|(value, unknown_datapoints))>
<!ELEMENT rra (cf, pdp_per_row, xff, cdp_prep, database)>
<!-- ds's children -->
<!ELEMENT name (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT minimal_heartbeat (#PCDATA)>
<!ELEMENT min (#PCDATA)>
<!ELEMENT max (#PCDATA)>
<!ELEMENT last_ds (#PCDATA)>
<!ELEMENT unknown_sec (#PCDATA)>
<!ELEMENT unknown_datapoints (#PCDATA)>
<!-- There are two different elements with the same name -->
<!-- /rrd/ds/value and /rrd/rra/cdp_prep/ds/value -->
<!ELEMENT value (#PCDATA)>
<!-- rra's children -->
<!ELEMENT cf (#PCDATA)>
<!ELEMENT pdp_per_row (#PCDATA)>
<!ELEMENT xff (#PCDATA)>
<!ELEMENT cdp_prep (ds+)>
<!ELEMENT database (row+)>
<!-- database's children -->
<!ELEMENT row (v+)>
<!ELEMENT v (#PCDATA)>
--------------------------------------------------------------
--
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