[rrd-users] Can we use userdefined variable in XML file generated from xport command ?

DeepakN deepak.nagane at gmail.com
Wed Feb 24 14:58:59 CET 2010


Hi,

I am new to rrdtool and my question is can we change variable name in xml
file generated from xport command. Bcoz I want to read XML file in flex and
generate Graph in flex for that I want each element with it's name and
value. When we generate XML using xport comamand it's structure is 

<xport> 
  <meta> 
    <start>1034259600</start> 
    <step>300</step> 
    <end>1034260500</end> 
    <rows>4</rows> 
    <columns>1</columns> 
    <legend> 
      <entry></entry> 
    </legend> 
  </meta> 
  <data> 
    <row><t>1034259600</t><v>1.8206442886e+005</v></row> 
    <row><t>1034259900</t><v>3.0814951893e+005</v></row> 
    <row><t>1034260200</t><v>2.0108738560e+005</v></row> 
    <row><t>1034260500</t><v>3.6460060800e+004</v></row> 
  </data> 
</xport>

where each child element in row is defined as <t> and value as <v> elements.

Thanks in advance

Bye !!
-- 
View this message in context: http://old.nabble.com/Can-we-use-userdefined-variable-in-XML-file-generated-from-xport-command---tp27714206p27714206.html
Sent from the RRDTool - User mailing list archive at Nabble.com.



More information about the rrd-users mailing list