hi,
I have a running cacti (0.8.7g) on a windows 7 x64 machine and have to move it to a new win server 2012 x64 one. I'm new to cacti maintenance but with the help of the forum could install the same cacti as the old one and dump and restore the database, however couldn't find any straightforward procedure to move cacti files. So my new cacti pages load with the correct trees but no graphs. Could anyone help please?
migrate cacti files from windows 7 to Windows 2012
Moderators: Developers, Moderators
migrate cacti files from windows 7 to Windows 2012
Last edited by chatravin on Thu Jan 07, 2016 2:19 am, edited 1 time in total.
Re: migrate cacti files from windows 7 to Windows 2012
how did you restore your database
i need to back up my server how to do that ?
i need to back up my server how to do that ?
Re: migrate cacti files from windows 7 to Windows 2012
1- login into the windows where cacti is runningrockygado wrote:how did you restore your database
i need to back up my server how to do that ?
2-in the command prompt run the following command:
C:\Users\Administrator>mysqldump -u "user" -p"pass" "DB name" > "backupfile.sql"
if cacti has been installed with default settings the command above would look like:
C:\Users\Administrator>mysqldump -u root -pcacti cacti > cacti.sql
note that there is no space between -p and pass. if run correctly there should be a file named cacti.sql in C:\Users\Administrator
3- copy/paste the cacti.sql to the system where the new cacti has been installed. the destination directory could be C:\Users\Administrator
4- run the following command:
C:\Users\Administrator>mysql -u root -pcacti cacti < cacti.sql
and everything done.
Re: migrate cacti files from windows 7 to Windows 2012
Isn't there any body here? I need help please...
Re: migrate cacti(0.8.7g) from windows 7 x64 to Windows 2012
I found a clue to my problem in readme section of the forum pointing to take a look at the debug information offered by the rrdtool.
http://forums.cacti.net/viewtopic.php?f=3&t=11747
I found the following message:
"The system cannot find the path specified."
so I will try to solve that specific problem.
http://forums.cacti.net/viewtopic.php?f=3&t=11747
I found the following message:
"The system cannot find the path specified."
so I will try to solve that specific problem.
Re: migrate cacti files from windows 7 to Windows 2012
a step forward.
The last problem was that rrdtool.exe in new machine was placed in a different folder than what was set in transfered cacti DB. So I moved rrdtool folder to what the debug info expected to be. by now graphs could be seen in cacti pages and the message in debug changed to "OK". Good, but there is still a problem in polling or data gathering, since what is shown in graphs are all from previous polls and nothing thereafter. I'm going to solve that too.
Good luck chatravin!
The last problem was that rrdtool.exe in new machine was placed in a different folder than what was set in transfered cacti DB. So I moved rrdtool folder to what the debug info expected to be. by now graphs could be seen in cacti pages and the message in debug changed to "OK". Good, but there is still a problem in polling or data gathering, since what is shown in graphs are all from previous polls and nothing thereafter. I'm going to solve that too.
Good luck chatravin!
Re: migrate cacti files from windows 7 to Windows 2012
Did you use the installer or manually install all the bits on Windows 2012? Follow the guide in the numerical order listed on http://docs.cacti.net/manual:088:1_inst ... er_windows
For the poller issue, manually run it from the command line once (using the same start path and commands specified in the Task Scheduler). Does it work? the *.rrd files updated on that cycle?
For the poller issue, manually run it from the command line once (using the same start path and commands specified in the Task Scheduler). Does it work? the *.rrd files updated on that cycle?
| 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 |
Who is online
Users browsing this forum: No registered users and 3 guests