Zabbix调用python脚本监控mysql主从状态
脚本只监控从库的同步状态Zabbix安装路径:/usr/local/zabbix/zabbix客户端:192.168.15.66一、配置脚本查询mysql帐号权限CREATE USER 'showslavestatus'@'localhost' IDENTIFIED BY '123456';
GRANT REPLICATION CLIENT ON *.* TO 'showslavestatus'@...
原创
2018-04-01 21:30:14 ·
3972 阅读 ·
0 评论