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

Source: Internet
Author: User

Cacti MySQL increased 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 access to 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

The 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
    Modify ss_get_mysql_stats.php
    vi/var/www/html/scripts/ss_get_mysql_stats.php
    my sq l u seR='CaCT i- ; Mysql_pass = ' cacti ';

This account and password are the accounts and passwords that are 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
Allow only hosts with IP 10.254.166.60 to access native data with account cacti password cacti

    1. Monitor MySQL on the cacti host (10.254.166.60)

4.1 Adding a MySQL module to the host

Console-Management-devices-Select the host you created earlier

Then move to the bottom of the Add graphic template select 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 corresponding 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.