Cacti monitoring MySQL

Source: Internet
Author: User

After downloading the CactiEZ on the Internet, I feel very good after one-click installation. However, MySQL monitoring is added, but MySQL is not a null value.


The net turned down found that some parameters have not changed to this. Make a record now



First enter the CactiEZ server to modify the following files


vim/var/www/html/scripts/ss_get_mysql_stats.php


1. Look for the following parameters, change the user name and password to the one you want as

$mysql _user = ' cacti ';

$mysql _pass = ' cacti ';

$mysql _port = 3306;

$mysql _ssl = FALSE; # Whether to the use of SSL to connect to MySQL.



2. Run the following SQL statement into the MySQL server you want to monitor


Mysql> GRANT PROCESS, SUPER, REPLICATION CLIENT on*.* to ' cacti ' @ ' percent ' identified by ' cacti ';

Query OK, 0 rows Affected (0.00 sec)


mysql> FLUSH privileges;

Query OK, 0 rows Affected (0.00 sec)


This will then add the MySQL monitoring in the cacti to the value of the relevant monitor.

Cacti monitoring MySQL

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