Cacti add MySQL monitor (remote server)

Source: Internet
Author: User
Tags snmp snmp error

Monitoring host 192.168.24.69, the following with a for the monitored host 192.168.24.79, the following with the B ID remember to import monitoring MySQL templates files in the a server cacti 1. Install Snmp#yum installed on B net-snmp#vi/etc/snmp/snmpd.conf change the following section to start the SNMPD service and join the boot task #service snmpd start#chkconfig snmpd on 2. In MySQL b to perform assigned to a server query B server MySQL permissions, otherwise do not get the information of B server MySQL mysql>grant process,super,replication client on * * to "cacti" @ " 192.168.24.69 "identified by" cacti ";
Mysql>flush privileges; 3. Access a server's cacti (1) Click Add in Device
(2) Fill in description and host Name, select Host Template (Local Linux machine) and check the monitor host
After create, if there is no problem with the SNMP connection, the information for the B server is displayed, or thethe word "SNMP error"
(3) Select the X MySQL processlist GT in assocated Graph templates and click Add (4) to click on the " Create Graphsfor this Host "
(5) Add the x MySQL processlist GT to the list and click Create to the B server MySQL monitoring has been completed, drink a cup of tea/smoke, come back to see a server/var/www/html/cacti/rra there is no build "b server Ip_ State_mysql.rrd "file, if any, just wait to figure out the data. Reference Source: http://www.360doc.com/content/12/0711/22/146562_223674116.shtml

Cacti add MySQL monitor (remote server)

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.