使用zabbix对mysql5.7主从进行监控
mysql> show slave status \G*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 192.168.1.245
Master_User: apprankback
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000169
Read_Master_Log_Pos: 471806851
Relay_Log_File: zabbix_data-relay-bin.000511
Relay_Log_Pos: 24101450
Relay_Master_Log_File: mysql-bin.000169
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
页:
[1]