I often useCactiTo prevent data loss, we need to perform Cacti data at any time.BackupAnd migration!
I. Workflow
Install mysql, php, apache, and rrdtool;
Copy the cacti directory tarball to the new monitoring server in the dual-Data Center for decompression;
Copy the cactid directory tarball to the new monitoring server in the dual-line data center for decompression;
Copy the mysql database dump or tarball to the new monitoring server in the dual-Data Center for decompression;
- #mysqldump -p cacti >cacti.sql
-
Re-grant cactiuser all permissions for the database cacti;
- grant all . cacti.* to cactiuser@localhost identified by 'cactipassword';
-
Ii. Fault occurrence
When cacti is enabled, you can log on and control it normally. Check graph management and open all the diagrams without displaying them. Then, enable debug mode:
- *Turn . Graph Debug Mode.
-
- RRDTool Says:
-
- ERROR: This RRD was created . other architecture
-