Cacti data backup and Migration (1)

Source: Internet
Author: User
Tags rrdtool

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;

 
 
  1. #mysqldump -p cacti >cacti.sql  
  2.  

Re-grant cactiuser all permissions for the database cacti;

 
 
  1. grant all . cacti.* to cactiuser@localhost identified by 'cactipassword';  
  2.  

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:

 
 
  1. *Turn . Graph Debug Mode.  
  2.  
  3. RRDTool Says:  
  4.  
  5. ERROR: This RRD was created . other architecture  
  6.  


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.