mysql-cacti-templates-1.1.2.tar.gz free download cacti mysql add monitor

Source: Internet
Author: User

Cacti MySQL Add monitoring
1. Installing the Monitoring plugin
wget http://mysql-cacti-templates.googlecode.com/files/mysql-cacti-templates-1.1.2.tar.gz
If you can not download Baidu cloud disk has Http://pan.baidu.com/s/1hqH6VwK
TAR-XZVF mysql-cacti-templates-1.1.2.tar.gz
CP mysql-cacti-templates-1.1.2/ss_get_mysql_stats.php/var/www/html/cacti/scripts/
Chown-r cacti.cacti/var/www/html/cacti/scripts
Chmod-r 755/var/www/html/cacti/scripts

Use browser to access cacti host import Mysql-cacti-templates-1.1.2/cacti_host_template_x_db_server_ht_0.8.6i.xml
http://120.132.78.213/cacti/index.php

Default CactiEZ account and password are admin admin
Console-Import Export-Template import-Browse
Select Cacti_host_template_x_db_server_ht_0.8.6i.xml
Save

    1. Configuring the MySQL plugin for cacti
      Change ss_get_mysql_stats.php
      vi/var/www/html/scripts/ss_get_mysql_stats.php

$mysql _user = ' cacti ';

$mysql _pass = ' cacti ';

This account and password are the accounts and password authorized by the monitored host to the cacti host.
Cacti need this account and password to connect the monitored machine query status

    1. Configuring MySQL on the monitored side to authorize the cacti host
      Mysql-uroot-p
      Grant Process,super on - cacti ' @ '% ' identified by ' cacti ';
      Grant Process,super ' cacti ' @ ' 10.254.166.60 ' identified by ' cacti ';
      Flush privileges;

The meaning of this command
Only allow IP 10.254.166.60 host to access native data with account cacti password cacti

    1. Monitor MySQL on the cacti host (10.254.166.60)

4.1 Adding MySQL module to host

Console-Management-devices-Select the host you created earlier
Ping mode changed to ping
Then move to the following add graphic template Select the MySQL related module and save

4.2 Creating graphics for MySQL modules

Console-Create-Create graphic-Select the host-check MySQL module-Create

4.3 Plugin mysql performance data

Monitor-Check the host-check the appropriate MySQL

Complete

mysql-cacti-templates-1.1.2.tar.gz free download cacti mysql add monitor

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.