[rrd-users] No timestamps for rows in xport output with v.1.5.5 on Linux

Steve HICKS unicsonline at gmail.com
Tue Feb 14 15:44:47 CET 2017


Hello,

I have found a problem with version 1.5.5 on Linux when I try to generate a
xport output.

My ouput does not contain timestamp for my rows.


Simple example:

rrdtool xport -m15 -s 1487026800 -e 1487028600
'DEF:item1=/my/beautiful/database.rrd:item1:AVERAGE' XPORT:item1:item1
<?xml version="1.0" encoding="ISO-8859-1"?>

<xport>
  <meta>
    <start>1487026800</start>
    <end>1487028600</end>
    <step>120</step>
    <rows>15</rows>
    <columns>1</columns>
    <legend>
      <entry>item1</entry>
    </legend>
  </meta>
  <data>
    <row><v>5.0175000000e+01</v></row>
    <row><v>6.5605000000e+01</v></row>
    <row><v>8.2178250000e+01</v></row>
    <row><v>8.8080000000e+01</v></row>
    <row><v>6.9235000000e+01</v></row>
    <row><v>5.5784916667e+01</v></row>
    <row><v>5.8171333333e+01</v></row>
    <row><v>5.4850000000e+01</v></row>
    <row><v>6.4811583333e+01</v></row>
    <row><v>5.6625000000e+01</v></row>
    <row><v>5.7730000000e+01</v></row>
    <row><v>5.5933583333e+01</v></row>
    <row><v>4.8695000000e+01</v></row>
    <row><v>6.1630000000e+01</v></row>
    <row><v>5.6467000000e+01</v></row>
  </data>
</xport>


On other systems (AIX) I am using xport with version 1.2.13, and I have no
problem since years:

rrdtool xport -m30 -s 1487026800 -e 1487027100
DEF:item1=/my/beautiful/database.rrd:item1:AVERAGE XPORT:item1:item1

<?xml version="1.0" encoding="ISO-8859-1"?>

<xport>
  <meta>
    <start>1487026810</start>
    <step>10</step>
    <end>1487027110</end>
    <rows>31</rows>
    <columns>1</columns>
    <legend>
      <entry>item1</entry>
    </legend>
  </meta>
  <data>
    <row><t>1487026810</t><v>88888888</v></row>
    <row><t>1487026820</t><v>88888888</v></row>
    <row><t>1487026830</t><v>88888888</v></row>
    <row><t>1487026840</t><v>88888888</v></row>
    <row><t>1487026850</t><v>88888888</v></row>
    <row><t>1487026860</t><v>88888888</v></row>
    <row><t>1487026870</t><v>88888888</v></row>
    <row><t>1487026910</t><v>88888888</v></row>
    (..)
    <row><t>1487027070</t><v>88888888</v></row>
    <row><t>1487027080</t><v>88888888</v></row>
    <row><t>1487027090</t><v>88888888</v></row>
    <row><t>1487027100</t><v>88888888</v></row>
    <row><t>1487027110</t><v>88888888</v></row>
  </data>
</xport>

An idea about the origin of problem? Without timestamps my .xml report are
useless :(

Thanks a lot to you ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/rrd-users/attachments/20170214/a7bbbec6/attachment.html>


More information about the rrd-users mailing list