Cacti Monitors multiple MySQL instances

Source: Internet
Author: User

Cacti Monitors multiple MySQL instances

The Cacti official website provides templates for monitoring MySQL. Only the default port 3306 can be monitored, but the current port is not 3306. How can we monitor it?

1. upload ss_get_mysql_stats.php to cacti/scripts/. By default, this script monitors mysql on port 3306. If you use other ports, we recommend that you change the script name to end with a port, ss_get_mysql_stats_3307.php, good habits are important.

2. modify cacti_host_template_mysql.xml, replace </name> with _ 3307 </name>, and change ss_get_mysql_stats.php to ss_get_mysql_stats_3307.php (this step is very important and has been found in many related documents, failed to monitor the plotting)

3. Execute perl to change the hash value. The original template is not overwritten during the import. After the execution is successful, import cacti_host_template_mysql_3307.xml (skip this step if there is no mysql monitoring image)

4. Configure the monitoring host and wait for the plotting.

Note: The attachment is the required file, but it is not configured. You need to configure it yourself. Manual configuration will increase your memory. Go Brother!

------------------------------------------ Split line ------------------------------------------

Free in

The username and password are both

The specific download directory is/July 6,/July 2,/Cacti monitors MySQL multi-instance/

For the download method, see

------------------------------------------ Split line ------------------------------------------

Because there are too many images, only part of them will be uploaded.

-------------------------------------- Split line --------------------------------------

In RHEL6.4, the Cacti + Spine monitoring host is used to send mail alarms.

Configure Cacti to monitor MySQL database status

Use Cacti + Spine to monitor remote hosts in RHEL6.4

CentOS 5.5 complete installation of Cacti + Spine

Cacti construction document under CentOS 6

Detailed description of Cacti monitoring deployment under RHEL5.9

How to install Cacti in CentOS 6.3

Quick installation and configuration of Cacti in CentOS Linux

-------------------------------------- Split line --------------------------------------

Cacti details: click here
Cacti: click here

This article permanently updates the link address:

Related Article

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: 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.