In building mysql-mmm environment times wrong

Source: Internet
Author: User

The following information is displayed when you execute MMM_CONTORL show after Monitor starts

Error:can ' t connect to monitor daemon!

Solution Ideas:

Modifying a configuration file

Will debug=0

Switch

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) '

Reason: Because your agent configuration file is written in this db1. This DB2. There is no corresponding parsing in host. So I can't connect.

Workaround:

1. The corresponding relationship between each MySQL hostname and IP can be written in hosts.conf

2. You can use the DNS service

3. You can add skip-name-resolve to the MY.CNF

This article is from the "Cloud Life" blog, make sure to keep this source http://ovcer.blog.51cto.com/1145188/1587396

In building mysql-mmm environment times wrong

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.