Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jul 22, 2019 5:00 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Moving Thold Data To New Server
PostPosted: Wed Apr 04, 2018 3:47 pm 
Offline

Joined: Wed Apr 04, 2018 3:22 pm
Posts: 2
I've setup a new cacti server and manged to move the mysql database and .rra files.

Is there anyway to move my thold settings from my old cacti server? I have over 400 of them setup and can't figure out how to get them to show up on the new server.

Thanks for any help.

Old Server:
Widows Server 2008
Cacti 0.8.8c
Thold 0.6

New Server:
Windows Server 2012 R2
Cacti 1.1.36
Thold 1.0.5


Top
 Profile  
 
 Post subject: Re: Moving Thold Data To New Server
PostPosted: Thu Apr 05, 2018 1:37 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2601
If you have moved the database and enabled the plugin, they should be there. If you uninstalled/reinstalled the plugin, they will be removed as the tables are removed.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Moving Thold Data To New Server
PostPosted: Thu Apr 05, 2018 10:36 am 
Offline

Joined: Wed Apr 04, 2018 3:22 pm
Posts: 2
Thank you for the reply.

I've tried many times but can not get it to work. Anyone have any other suggestions. Please see attached screenshots.

1. New cacti, with old plug enabled
2. New cacti, can kind of show some data with old plugin.
3. New cacti, with new plugin enabled.
4. New cacti, does not show any tholds.
5. Countless errors, trying to add new thold.


Attachments:
File comment: Errors
5.png
5.png [ 197.44 KiB | Viewed 453 times ]
File comment: 4. New cacti, does not show any tholds.
4.png
4.png [ 19.79 KiB | Viewed 453 times ]
File comment: 3. New cacti, with new plugin enabled.
3.png
3.png [ 28.58 KiB | Viewed 453 times ]
File comment: 2. New cacti, can kind of show some data with old plugin
2.png
2.png [ 28.53 KiB | Viewed 453 times ]
File comment: 1. New cacti, with old plug enabled
1.png
1.png [ 28.64 KiB | Viewed 453 times ]
Top
 Profile  
 
 Post subject: Re: Moving Thold Data To New Server
PostPosted: Thu Apr 05, 2018 7:03 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2601
OK so your last image really gives the clue. You have attempted to have two versions of THold installed. You will need to remove one and rename the .new to just thold.

Once you have done that, the upgrade process for the plugin should kick in and update the db.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Moving Thold Data To New Server
PostPosted: Thu Apr 05, 2018 8:34 pm 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 266
Location: Long Island, New York, USA
Make sure to disable [then uninstall]* first. Not sure it's necessary, but better safe than sorry. I just renamed the directory and made sure the new version did what I wanted before whacking the old, but how you proceed is up to you.

* See netniV's post below BEFORE uninstalling.

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.4 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4


Last edited by camerabob on Mon Apr 09, 2018 7:53 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Moving Thold Data To New Server
PostPosted: Fri Apr 06, 2018 9:08 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2601
If you uninstall, all data will be lost in the tables that a plugin wishes to remove. You should only uninstall if you do not want to keep that data.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 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