[rrd-users] Incompatibilities?
Marco Marongiu
brontolinux at gmail.com
Fri Apr 8 16:48:59 CEST 2011
hello there
I exported four files from the munin servers, and restored them on my
workstation. When I got a graph from the restored files, I saw that the
values were strange.
I read into the xml files: the values are correct there.
Then I tried rrdfetch with the same arguments on the two machines, and
got different results.
Is this a bug, an incompatibility problem, or I am doing something wrong?
The original RRD files come from a Munin server running Debian Lenny and
rrdtool 1.3.1
My workstation is a Debian 10.04, rrdtool is 1.3.8.
These is an excerpt of the values in the XML file:
> $ grep 'row' file.xml | head
> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
> <!-- 2011-04-06 12:55:00 UTC / 1302094500 --> <row><v> -3.5000000000e-05 </v></row>
> <!-- 2011-04-06 13:00:00 UTC / 1302094800 --> <row><v> -3.4031277013e-05 </v></row>
> <!-- 2011-04-06 13:05:00 UTC / 1302095100 --> <row><v> 3.0618820704e-04 </v></row>
> <!-- 2011-04-06 13:10:00 UTC / 1302095400 --> <row><v> 3.1218822090e-04 </v></row>
> <!-- 2011-04-06 13:15:00 UTC / 1302095700 --> <row><v> 3.0523152780e-04 </v></row>
> <!-- 2011-04-06 13:20:00 UTC / 1302096000 --> <row><v> 7.7039360462e-04 </v></row>
> <!-- 2011-04-06 13:25:00 UTC / 1302096300 --> <row><v> 8.7851096389e-04 </v></row>
> <!-- 2011-04-06 13:30:00 UTC / 1302096600 --> <row><v> 8.6253013483e-04 </v></row>
> <!-- 2011-04-06 13:35:00 UTC / 1302096900 --> <row><v> 8.4649245269e-04 </v></row>
This is what rrdfetch returns on the munin server; the command is run on
a restored file:
> # rrdtool fetch file.rrd AVERAGE --start 1302094500 --end 1302267000 | head
> 42
>
> 1302094800: -3.4031277013e-05
> 1302095100: 3.0618820704e-04
> 1302095400: 3.1218822090e-04
> 1302095700: 3.0523152780e-04
> 1302096000: 7.7039360462e-04
> 1302096300: 8.7851096389e-04
> 1302096600: 8.6253013483e-04
> 1302096900: 8.4649245269e-04
The values are there and match those in the XML file.
Now look at what the same rrdfetch returns on my workstation, on the
restored the file:
> $ rrdtool fetch file.rrd AVERAGE --start 1302094500 --end 1302267000 | head
> 42
>
> 1302094800: -3,0000000000e+00
> 1302095100: 3,0000000000e+00
> 1302095400: 3,0000000000e+00
> 1302095700: 3,0000000000e+00
> 1302096000: 7,0000000000e+00
> 1302096300: 8,0000000000e+00
> 1302096600: 8,0000000000e+00
> 1302096900: 8,0000000000e+00
%-{
Ciao
--bronto
More information about the rrd-users
mailing list