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: Developers, Moderators

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

how to Convert exsisting graphs to 64 bit?

Post by SNS »

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: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

wrong forum, moving.
Kro
Posts: 38
Joined: Thu Mar 27, 2008 11:39 am

Re: how to Convert exsisting graphs to 64 bit?

Post by Kro »

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?

Post by SNS »

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

Post by Kro »

What is the problem with restore command ?
ManyX
Posts: 3
Joined: Tue Apr 29, 2008 9:02 am

Post by ManyX »

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?

Post by dga »

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: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: how to Convert exsisting graphs to 64 bit?

Post by gandalf »

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

Who is online

Users browsing this forum: No registered users and 4 guests