transfer Cacti to another system
Moderators: Developers, Moderators
transfer Cacti to another system
hi
i want to transfer all of things (e.g. all graph templates, host templates, data templates, data queries and graphs) that maked in cacti of my system , to another system that installed on cacti. without use Import & Export!!
what way to do this?
i want to transfer all of things (e.g. all graph templates, host templates, data templates, data queries and graphs) that maked in cacti of my system , to another system that installed on cacti. without use Import & Export!!
what way to do this?
Re: transfer Cacti to another system
you need to :
1. export your mysql Database (e.g. with phpmyadmin)
2. COPY your cacti Folder (e.g. /usr/share/cacti/) to the new system
3. Install Mysql, Apache2 and everything else Cacti needs on the new sys
4. import the existing DB
5. check all rights, accounts @ mysql etc.
6. create a cronjob (e.g. nano /etc/cron.d/cacti)
and have fun
1. export your mysql Database (e.g. with phpmyadmin)
2. COPY your cacti Folder (e.g. /usr/share/cacti/) to the new system
3. Install Mysql, Apache2 and everything else Cacti needs on the new sys
4. import the existing DB
5. check all rights, accounts @ mysql etc.
6. create a cronjob (e.g. nano /etc/cron.d/cacti)
Code: Select all
MAILTO=root
* * * * * www-data php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti$
* * * * * root ntpdate TIMESERVER
and have fun
Re: transfer Cacti to another system
Alphadog wrote:you need to :
1. export your mysql Database (e.g. with phpmyadmin)
2. COPY your cacti Folder (e.g. /usr/share/cacti/) to the new system
3. Install Mysql, Apache2 and everything else Cacti needs on the new sys
4. import the existing DB
5. check all rights, accounts @ mysql etc.
6. create a cronjob (e.g. nano /etc/cron.d/cacti)Code: Select all
MAILTO=root * * * * * www-data php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti$ * * * * * root ntpdate TIMESERVER
and have fun
i done this sequence that you say, but don't work !!
Re: transfer Cacti to another system
what kind of error message did you get ?
which instance of cacti isn't working ??
which instance of cacti isn't working ??
Re: transfer Cacti to another system
no error happened and cacti is run OK.
but never of graphs that locate in old server, no transfer to new server.
but never of graphs that locate in old server, no transfer to new server.
Re: transfer Cacti to another system
What do you mean?
That everything work in the new cacti server but you don't have the previous history inside the rrd files?
I had a similar issues trying to move rrds files amongst different servers.
I solved by dumping in xml and then restore them
see the command rrdtool dump and rrdtool restore
That everything work in the new cacti server but you don't have the previous history inside the rrd files?
I had a similar issues trying to move rrds files amongst different servers.
I solved by dumping in xml and then restore them
see the command rrdtool dump and rrdtool restore
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: transfer Cacti to another system
I just provided a perl script that helps doing so. See 1st link of my sig, Maintenance chapter
R.
R.
Re: transfer Cacti to another system
Hi gandalfgandalf wrote:I just provided a perl script that helps doing so. See 1st link of my sig, Maintenance chapter
R.
i 'm find a way for my question.
that is, "export host template" and import to another machine. by this work, transfered all of data queries and graph template and data template to dest machin but don't create any graph!! i forced to create graph manually.
are a way for solve this problem?
i have another question form u
how i do monitor servral machines form a centerlized machine by graphs that created in pervious step?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: transfer Cacti to another system
You exlude use of export/import in your first question. Now I don't know what you really want to achievemoty119 wrote: i 'm find a way for my question.
that is, "export host template" and import to another machine. by this work, transfered all of data queries and graph template and data template to dest machin but don't create any graph!! i forced to create graph manually.
As already said, the above procedure will clone a complete system.are a way for solve this problem?
R.
Who is online
Users browsing this forum: No registered users and 1 guest