环境说明: zabbix-proxy 172.16.2.95(zabbix-server同理) zabbix-agent111 172.16.2.111 mysql从机 1.mysql从机添加用户权限,避开root权限 mysql> grant replication client on *.* to 'zabbix'@'localhost' identified by 'password'; 2.将用户名密码写入/var/lib/zabbix/.my.cnf,不建议写在/etc/my.cnf,…