[rrd-users] problem with rrdrestore
kristoff.bonne at skypro.be
Tue Jul 2 09:58:51 CEST 2013
We have a strange problem with "rrdtool restore".
We are transfering mrtg / rrdtool statistics from one old server to a
new one. The old server is a 32bit debian box. The new machine is 64 bit
Due to this migration from 32 to 64 bit, we need to use "rrdtool dump"
to create a xml-file from the .rrd files on the 32bit machine and use
"rrdtool restore" to convert them back to .rrd on the 64 bit box.
I have a .rrd file with gauge values between 0 and 10000. When
converting it a value from the .rrd file to a XML file, I get values
like (say) 6.534000000e+03 (so 6534).
However, when using "rrdtool restore" on the 64 bit box; this gets
converted to just 6. I see that because a "rrdtool dump" of the
resulting .rrd file on the 64 bit box returns (6.0000e+00).
I have that with all values in the .rrd file.
When only doing "rrdtool dump" and "rrdtool restore" on the 32bit box,
it does work OK.
Is this a known issue? Anybody any ideas.
I'll start with compiling rrdtool from source on the 64bit box and see
if this helps.
More information about the rrd-users