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

Mersberger, Robert robert.mersberger at goldenliving.com
Mon Jul 28 15:36:36 CEST 2008


 Yes, one machine is i686 the other x86_64. I will look deeper into rrdtools to get this done. Are you aware of how I can do this, (dump and restore) in bulk rather that one rrd at a time?

Thanks for responding.


-----Original Message-----
From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Matthias.Merk at arz.at
Sent: Saturday, July 26, 2008 3:43 PM
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] How do I move my rrds to my new MRTG system.

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.
----------------

_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Please consider the environment before printing this e-mail.

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively, this 'Email') are intended
only for the confidential use of the recipient(s) named above. If the reader of this
message is not the intended recipient named above or an agent responsible for
delivering it to the intended recipient named above, you have received this Email in error.
Please notify the sender immediately and permanently delete this Email and any copies thereof.



More information about the rrd-users mailing list