zabbix使用zabbix-agent2主动模式监控mysql
文章目录
https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/go/plugins/mysql/README.md
https://www.zabbix.com/cn/integrations/mysql#tab:official2
https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/db/mysql_agent2
1. 安装zabbix-agent2客户端
安装 zabbix 5.0 agent2客户端
# 安装 zabbix 5.0 官方centos7 yum源
rpm -ivh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
# 安装 zabbix-agent2 客户端
yum -y install zabbix-agent2
配置zabbix-agent2.conf
vim /etc/zabbix/zabbix_agent2.conf
Server