The following ERROR message is displayed when mmm_contorlshow is executed after monitor is started: Cantconnecttomonitordaemon! Solution: modify the configuration file, change debug0 to debug1, and restart mysql-mmm-monitorDEBUGmys. the following information is displayed when mmm_contorl show is executed after the monitor is started.
ERROR: Can't connect to monitor daemon!
Solution:
Modify configuration file
Set debug = 0
Change
Debug = 1
Then restart mysql-mmm-monitor.
DEBUG mysql (db2) = 'Error: Connect ERROR (host = 10.10.1.100: 3306, user = mmm_monitor )! Can't connect to MySQL server on '10. 10.1.100 '(4 )'
Cause: your agent configuration file contains this db1. this db2. there is no corresponding resolution in the host. Therefore, the connection cannot be established.
Solution:
1. you can write the ing between the host name and IP address of each mysql instance in hosts. conf.
2. you can use the DNS service.
3. you can add skip-name-resolve to my. cnf.