[rrd-users] How do I move my rrds to my new MRTG system.

Matthias.Merk at arz.at Matthias.Merk at arz.at
Sat Jul 26 22:42:32 CEST 2008


rrd-users-bounces at lists.oetiker.ch schrieb am 25.07.2008 23:41:32:

> as a test I used rsync to move some of my rrds from my current 
> production mrtg system to the new mrtg systems that I am building. 
> After I did this I created the new cfg files for these devices but 
> then I started getting the following errors.
> 2008-07-22 09:20:03: ERROR: Cannot tune logfile: This RRD was 
> created on another architecture 
> 2008-07-22 09:20:03: ERROR: Cannot update /usr/local/rrd_data/10.0.
> 14.254_se0_0_0.rrd with '1216736402:689122584:432319783' This RRD 
> was created on another architecture
> 2008-07-22 09:20:03: ERROR: Cannot tune logfile: This RRD was 
> created on another architecture 
> 2008-07-22 09:20:03: ERROR: Cannot update /usr/local/rrd_data/10.0.
> 14.254_fa0_0.rrd with '1216736402:720868576:1370677120' This RRD was
> created on another architecture
> My production system is as follows 
> Linux mrtg.beverlycorp.com 2.6.19-1.2895.fc6 #1 SMP Wed Jan 10 18:
> 32:37 EST 2007 i686 athlon i386 GNU/Linux 
> My new system is as follows 
> Linux mrtg2.beverlycorp.com 2.6.25-14.fc9.x86_64 #1 SMP Thu May 1 
> 06:06:21 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux 
> 
> Is my problem because I was using rsync ? 
> If I should have been using rrdtools export, I do I set it up to 
> export the whole directory? 
> 
> Stuck in the middle on this one as my user wants the history to 
> follow to the new system. 

hi

i guess the problem is one machine is i686 the other x86_64

a quick google revealed this
http://net.doit.wisc.edu/~plonka/list/flowscan/archive/1448.html
quote:
"RRD files are endian-specific, for performance benefit ... 
When you want to copy/move from one platform to another, you can use
"rrdtool dump" to convert them to a portable XML format, then "rrdtool
restore" to restore them to a binary format appropriate for the
localhost.See "man rrddump" and "man rrdrestore" for details."

HTH
----------------
Disclaimer:
Diese Nachricht dient ausschließlich zu Informationszwecken und ist nur 
für den Gebrauch des angesprochenen Adressaten bestimmt.

This message is only for informational purposes and is intended solely for 
the use of the addressee.
----------------



More information about the rrd-users mailing list