[rrd-developers] Re: Problem with xport on version 1.2.4

Tobias Oetiker oetiker at ee.ethz.ch
Tue May 10 21:31:51 MEST 2005


Hi Antoine,
I tried to reproduce this problem but here I get exactly the same
for dump and xport ... so I am a bit lots at the moment ...
you seem to be running with special locales set ... could this be an issue ..

oetiker> ./rrdtool dump test.rrd | ggrep -B2 -A2 920805000
                        <!-- 1999-03-07 12:00:00 MET / 920804400 --> <row><v> NaN </v></row>
                        <!-- 1999-03-07 12:05:00 MET / 920804700 --> <row><v> NaN </v></row>
                        <!-- 1999-03-07 12:10:00 MET / 920805000 --> <row><v> 4.0000000000e-02 </v></row>
                        <!-- 1999-03-07 12:15:00 MET / 920805300 --> <row><v> 2.0000000000e-02 </v></row>
                        <!-- 1999-03-07 12:20:00 MET / 920805600 --> <row><v> 0.0000000000e+00 </v></row>

oetiker> ./rrdtool xport --start 920804400 --end 920805600 DEF:a=test.rrd:speed:AVERAGE XPORT:a
<?xml version="1.0" encoding="ISO-8859-1"?>

<xport>
  <meta>
    <start>920804700</start>
    <step>300</step>
    <end>920805600</end>
    <rows>4</rows>
    <columns>1</columns>
    <legend>
      <entry></entry>
    </legend>
  </meta>
  <data>
    <row><t>920804700</t><v>NaN</v></row>
    <row><t>920805000</t><v>4.0000000000e-02</v></row>
    <row><t>920805300</t><v>2.0000000000e-02</v></row>
    <row><t>920805600</t><v>0.0000000000e+00</v></row>
  </data>
</xport>



> Hello,
>
> I'm trying rrd_xport and have a problem whith 1.2.4
>
> Here is a dump of my rrd base :
>
> <!-- 2005-05-10 09:48:00 Paris, Madrid (heure d'été) / 1115711280 --> <row><v> 4.8355519713e+002 </v><v> 1.2995924373e+004 </v><v> 3.2555555556e+000 </v><v> 1.3777777778e+000 </v></row>
[...]
> <row><t>1115711280</t><v>1.2779396416e+004</v></row>

[...]

> The difference between xport and dump are :
>
> for time 1115711280 xport 1.2779396416e+004  / dump 1.2995924373e+004
> for time 1115711370 xport 1.2731115054e+004  / dump 1.2779396416e+004
> for time 1115711460 xport 1.2974461860e+004  / dump 1.2731115054e+004
> for time 1115711550 xport NAN                / dump 1.2974461860e+004
> for time 1115711640 xport NAN                / dump NAN
> for time 1115711730 xport 1.0540840426e+004  / dump NAN
> for time 1115711820 xport 1.3430207342e+004  / dump 1.0540840426e+004
> for time 1115711910 xport NAN                / dump 1.3430207342e+004
> for time 1115712000 xport -1.4568160835e+144 / dump 1.7222222222e+000
>
> The line seems to be shifted.
> What's happen ? it's a bug, or i make an error ?
>
> Thanks.
>
>
>
>
>
>
>
>
> --
> Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
> Archive     http://lists.ee.ethz.ch/rrd-developers
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list