how to Convert exsisting graphs to 64 bit?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
SNS
Posts: 3
Joined: Tue May 06, 2008 7:03 pm

how to Convert exsisting graphs to 64 bit?

#1 Post by SNS » Wed May 07, 2008 5:57 pm

Hi,

I created all my cacti graphs on 32bit in/out interface. Now I want to convert these to 64 bit without losing the previous data.

Does anyone know how I could do this?

Thanks,
S

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

#2 Post by BSOD2600 » Wed May 07, 2008 6:59 pm

wrong forum, moving.

Kro
Posts: 38
Joined: Thu Mar 27, 2008 11:39 am

Re: how to Convert exsisting graphs to 64 bit?

#3 Post by Kro » Thu May 08, 2008 10:41 am

SNS wrote:Hi,

I created all my cacti graphs on 32bit in/out interface. Now I want to convert these to 64 bit without losing the previous data.

Does anyone know how I could do this?

Thanks,
S
- Export all your graph to xml files using "rrdtool dump yourfile.rrd yourfile.xml" from your 32 bits system
- copy all xml files on your 64 bits system
- use "rrdyool restore yourfile.xml yourfile.rrd" from 64 bits system

You have to know there is some issue with spine on 64 bits system.
I don't know if it's solved with the last SVN version.

SNS
Posts: 3
Joined: Tue May 06, 2008 7:03 pm

Re: how to Convert exsisting graphs to 64 bit?

#4 Post by SNS » Thu May 08, 2008 4:03 pm

Kro wrote:
SNS wrote:Hi,

I created all my cacti graphs on 32bit in/out interface. Now I want to convert these to 64 bit without losing the previous data.

Does anyone know how I could do this?

Thanks,
S
- Export all your graph to xml files using "rrdtool dump yourfile.rrd yourfile.xml" from your 32 bits system
- copy all xml files on your 64 bits system
- use "rrdyool restore yourfile.xml yourfile.rrd" from 64 bits system

You have to know there is some issue with spine on 64 bits system.
I don't know if it's solved with the last SVN version.


Thanks Kro for your help.

I have been using the same 64 bit system to plot the graphs in 32 bit in/out interface by mistake. So, Can you tell me how I could do that on the same system. I might sound foolish with this question , but I am new to using Linux as well as cacti. Moreover the restore command does not seem to work with my system. Is there any other way of doing it?

Regards,
S

Kro
Posts: 38
Joined: Thu Mar 27, 2008 11:39 am

#5 Post by Kro » Thu May 08, 2008 8:33 pm

What is the problem with restore command ?

ManyX
Posts: 3
Joined: Tue Apr 29, 2008 9:02 am

#6 Post by ManyX » Sat Apr 17, 2010 12:06 pm

On the 32 bit machine in /var/www/cacti/rra/ run in SSH:

for i in `ls *.rrd`; do rrdtool dump $i > $i.xml; done

Transfer xml files to the other 64 bit machine and the same location.

On the 64 bit machine run in SSH:

for i in `ls *.xml`; do rrdtool restore $i `echo $i |sed s/.xml//g`; done

dga
Posts: 2
Joined: Thu Apr 24, 2008 5:46 am

Re: how to Convert exsisting graphs to 64 bit?

#7 Post by dga » Wed Aug 31, 2011 12:24 am

Hello all!

I have a problem with convert rrd files from 32 to 64. After export on 32 and import on 64bit machine The interface traffic graph don't get the data, but CPU, memory does. I see old values on all graphs.

Any ideas?


Thank you.

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: how to Convert exsisting graphs to 64 bit?

#8 Post by gandalf » Fri Sep 16, 2011 2:39 pm

There is a conversion plugin for that task. But I did not use it.
R.

Post Reply