I want to migrate one cacti server to other clean install . Don`t want to keep the rra files , just want to export hosts , and witch graphs are created for every one hosts , scripts and other things are easy part.
Some suggestions.
Cacti migration
Moderators: Developers, Moderators
-
- Posts: 15
- Joined: Fri Mar 17, 2006 9:43 am
Cacti migration
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.5
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-gentoo-r6monitoring
[b]Web Server[/b] - Apache
[b]PHP[/b] - 5.2.11-pl1-gentoo
[b]PHP Extensions[/b] - date, libxml, openssl, pcre, zlib, bcmath, bz2, curl, dba, dom, ftp, gd, gettext, hash, iconv, mbstring, mcrypt, mysql, SimpleXML, SPL, PDO, posix, Reflection, session, pdo_mysql, snmp, soap, sockets, standard, xml, xmlreader, xsl, zip, apache2handler, yaz
[b]MySQL[/b] - 5.0.84
[b]RRDTool[/b] - 1.2.30
[b]SNMP[/b] - 5.4.2.1
[b]Plugins[/b][list]PHP Network Weathermap (weathermap - v0.96)
Host Info (hostinfo - v0.2)[/list][/quote]
[b]Plugin Architecture[/b] - 2.5
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.31-gentoo-r6monitoring
[b]Web Server[/b] - Apache
[b]PHP[/b] - 5.2.11-pl1-gentoo
[b]PHP Extensions[/b] - date, libxml, openssl, pcre, zlib, bcmath, bz2, curl, dba, dom, ftp, gd, gettext, hash, iconv, mbstring, mcrypt, mysql, SimpleXML, SPL, PDO, posix, Reflection, session, pdo_mysql, snmp, soap, sockets, standard, xml, xmlreader, xsl, zip, apache2handler, yaz
[b]MySQL[/b] - 5.0.84
[b]RRDTool[/b] - 1.2.30
[b]SNMP[/b] - 5.4.2.1
[b]Plugins[/b][list]PHP Network Weathermap (weathermap - v0.96)
Host Info (hostinfo - v0.2)[/list][/quote]
Simply export the database then - it contains all the information you need to regenerate the rrd files, and Cacti will regenerate the missing rrd files on the new box.
Ensure that you sync your resource and scripts directories and you should be good to go.
Ensure that you sync your resource and scripts directories and you should be good to go.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Yes and No.
I replaced the path with the path I want and uploaded the mysql-dump.
The problem is that if I rebuild the poller_cache the cactis lib/utility.php
replaces my path with the $cacti_base/rra path...
Its not my idea of fun touching php-code so I placed a link.
This is even simpler....
I guess witness should do something about the path handling in cacti.
Actuelly I have to grep -R oldpath, replace the path in 2 cacti configfiles and every plugin-config, and in the poller_item table and in the settings table...
It would be create to change rra and script-path in the gui or during setup..
I replaced the path with the path I want and uploaded the mysql-dump.
The problem is that if I rebuild the poller_cache the cactis lib/utility.php
replaces my path with the $cacti_base/rra path...
Its not my idea of fun touching php-code so I placed a link.
This is even simpler....
I guess witness should do something about the path handling in cacti.
Actuelly I have to grep -R oldpath, replace the path in 2 cacti configfiles and every plugin-config, and in the poller_item table and in the settings table...
It would be create to change rra and script-path in the gui or during setup..
Who is online
Users browsing this forum: No registered users and 0 guests