Install and configure the MMS Monitoring Agent (8)

Source: Internet
Author: User
The following describes how to install and configure the Monitoring Agent. Log on to the MMS console with the username and password registered in install MMS Monitoring Service (6. How does it work? First, deploy a monitoring agent in the data center. Then, use the MMSweb interface to specify a node in the cluster. The monitoring agent will connect to the seed node and automatically discover all other hosts in the cluster.

The following describes how to install and configure the Monitoring Agent. Log on to the MMS console with the username and password registered in install MMS Monitoring Service (6. How does it work? First, deploy a monitoring agent in the data center. Then, use the MMS web interface to specify a node in the cluster. The monitoring agent will connect to the seed node and automatically discover all other hosts in the cluster.

The following describes how to install and configure the Monitoring Agent. Log on to the MMS console with the username and password registered in install MMS Monitoring Service (6. How does it work? First, deploy a monitoring agent in the data center. Then, use the MMS web interface to specify a node in the cluster. The Monitoring Agent connects to the seed node to automatically discover all other hosts in the cluster. The Monitoring Agent collects node data in the cluster and sends it back to MMS safely. Log on to the MMS user interface to view the performance visualization data and set alarms. Instead of sending MongoDB data to MMS, only collect statistics and metadata. Download the mongodb-mms-monitoring-agent from the address provided above and modify it? The/etc/mongodb-mms/monitoring-agent.config file. Then, check whether the proxy is normal: the following content is added to the host. Add a host. Here, the MongoDB instance is in master-slave mode, as shown in the following figure: At the same time, an error message is displayed in the monitoring agent log, as shown in the following figure: [monitoring-agent/components/worker. go: 156] Task failure 'replstatus '. err: 'failed' command to jkzl: 40001 running [{replSetGetStatus 1}] against DB admin. err: 'Not running with -- replicase'. We recommend that you do not use MongoDB master-slave replication instead of replica set. If it cannot be found automatically, add it manually. You only need to install a monitoring agent. The monitoring agent also occupies some information, so it installs the Monitoring Agent on other servers to avoid affecting normal services.

Original article address: MMS Monitoring Agent installation and configuration (8). Thank you for sharing it with me.

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.