zabbix监控主从同步

1、编写脚本检查主从同步状态

2、编辑zabbix_agentd.conf,增加行

 UserParameter=mysql.replication,sh /data/sh/mysql_db_check.sh

3、添加监控项

  

4、添加触发器

  

5、关闭主从同步测试

原文地址:https://www.cnblogs.com/tiantianhappy/p/11104051.html