zabbix2.4.2 Combat Monitoring mysql5.6 performance

Source: Internet
Author: User

1. Search online A lot of information, very few monitoring mysql5.6, through their own practice, easy to achieve, share to everyone.

2. Monitored side settings

2.1 Setting up user and password to monitor MySQL

Mysql> GRANT PROCESS on * * to ' zabbix ' @ ' localhost ' identified by ' Zabbix ';

mysql> Flush privileges;

2.2 Configuring the My.cnf file (not added)

#vi/etc/my.cnf

[MySQL]

User=zabbix

Password=zabbix

Why configure MY.CNF, is due to mysql5.6 security issues

2.3 Adding monitoring items

#vi/usr/local/zabbix_agent/etc/zabbix_agentd.conf

Userparameter=mysql[*],mysql-h localhost-p 3306-e "show Global Status" |grep "\<$1\>" |cut-f2

3. Monitoring Terminal settings

3.1 Importing the zabbix_mysql5.6 of an attachment template

3.2 Adding templates to monitored hosts

3.3 Restart Zabbix_server

3.4 Waiting Results

This article is from the "Hanyun.fang" blog, make sure to keep this source http://hanyun.blog.51cto.com/1060170/1596049

zabbix2.4.2 Combat Monitoring mysql5.6 performance

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.