Install or Update the Monitoring Agent

The Cloud Manager Monitoring Agent is a lightweight component that runs within your infrastructure, connects to your MongoDB processes, collects data about the state of your deployment, and then sends the data to Cloud Manager, which processes and renders the data.


Beginning with Monitoring Agent version 5.0.0, Cloud Manager Premium uses 10-second granularity for monitoring metrics.

Multiple Monitoring Agents

You can run multiple Monitoring Agents to distribute monitoring assignments and provide failover. Cloud Manager distributes monitoring assignments among up to 100 running agents. Each agent monitors a different set of MongoDB processes. One Monitoring Agent per project is the primary agent. The primary agent reports the cluster’s status to Cloud Manager. As agents are added or shut down, Cloud Manager redistributes assignments. If the primary agent fails, Cloud Manager assigns another agent to be the primary agent.


To distribute monitoring assignments among multiple Monitoring Agents, you must use Monitoring Agent version 5.0.0 or higher.

If you run more than 100 Monitoring Agents, the additional agents run as standby agents. A standby agent is completely idle, except to log its status as a standby and periodically ask Cloud Manager if it should begin monitoring.

For versions of the Monitoring Agent earlier than version 5.0.0, only one agent handles monitoring assignments. All other running agents are standby agents.

If you install multiple Monitoring Agents, ensure that all the Monitoring Agents can reach all the mongod processes in the deployment.

To install multiple agents, simply repeat the installation process.

Installation Procedures

Install or Update Through Automation
Cloud Manager installs the agent to the servers you choose and ensures connectivity and access. This is the recommended way to install and run the agent.
Install or Update with RPM Packages
Install or update the Monitoring Agent using an rpm package.
Install or Update on Ubuntu
Install or update the Monitoring Agent on Ubuntu using a deb package.
Install or Update on OS X
Install or update the Monitoring Agent on OS X systems.
Install or Update on Other Linux Systems
Install or update the Monitoring Agent on Linux systems other than RPM-based or Ubuntu systems.
Install or Update on Windows
Install or update the Monitoring Agent on windows