监测服务器
日志
Network is unreachable
FATAL Network is reachable
FATAL Can't reach agent on host 'db2'
2020/01/09 14:55:11 FATAL Agent on host 'db2' is reachable again
FATAL Can't reach agent on host 'db3'
FATAL Can't reach agent on host 'db2'
FATAL Can't reach agent on host 'db1'
FATAL Agent on host 'db2' is reachable again
FATAL Agent on host 'db3' is reachable again
FATAL Agent on host 'db1' is reachable again
mmm_control show
db1(192.168.128.131) master/HARD_OFFLINE. Roles:
db2(192.168.128.134) master/HARD_OFFLINE. Roles:
db3(192.168.128.132) slave/HARD_OFFLINE. Roles:
db1
- 开启了3306,9988端口
- 分配的三个账号在别的虚拟机都可以通过 mysql -h -u -p登录
- ps -aux | grep 9988 没有运行的进程.
service mysql-mmm-agent status
Redirecting to /bin/systemctl status mysql-mmm-agent.service
● mysql-mmm-agent.service - MySQL MMM agent
Loaded: loaded (/usr/lib/systemd/system/mysql-mmm-agent.service; enabled; vendor preset: disabled)
Active: active (running) since 三 2020-01-08 01:30:12 CST; 1 day 13h ago
Process: 110158 ExecStart=/usr/sbin/mmm_agentd (code=exited, status=0/SUCCESS)
Main PID: 110161 (mmm_agentd)
CGroup: /system.slice/mysql-mmm-agent.service
├─110161 mmm_agentd
└─112822 mmm_agentd