Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue May 21, 2019 11:51 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: how to Convert exsisting graphs to 64 bit?
PostPosted: Wed May 07, 2008 5:57 pm 
Offline

Joined: Tue May 06, 2008 7:03 pm
Posts: 3
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 07, 2008 6:59 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12158
Location: USA
wrong forum, moving.

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject: Re: how to Convert exsisting graphs to 64 bit?
PostPosted: Thu May 08, 2008 10:41 am 
Offline

Joined: Thu Mar 27, 2008 11:39 am
Posts: 38
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.


Top
 Profile  
 
 Post subject: Re: how to Convert exsisting graphs to 64 bit?
PostPosted: Thu May 08, 2008 4:03 pm 
Offline

Joined: Tue May 06, 2008 7:03 pm
Posts: 3
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 08, 2008 8:33 pm 
Offline

Joined: Thu Mar 27, 2008 11:39 am
Posts: 38
What is the problem with restore command ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 17, 2010 12:06 pm 
Offline

Joined: Tue Apr 29, 2008 9:02 am
Posts: 3
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


Top
 Profile  
 
 Post subject: Re: how to Convert exsisting graphs to 64 bit?
PostPosted: Wed Aug 31, 2011 12:24 am 
Offline

Joined: Thu Apr 24, 2008 5:46 am
Posts: 2
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.


Top
 Profile  
 
 Post subject: Re: how to Convert exsisting graphs to 64 bit?
PostPosted: Fri Sep 16, 2011 2:39 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
There is a conversion plugin for that task. But I did not use it.
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group