Navigation
This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.

Start or Stop the Monitoring Agent

On this page

Legacy Monitoring Agent is EoL for Ops Manager 4.4

Update from your self-managed legacy Monitoring Agent to the MongoDB Agent.

Overview

You can shut down and restart Monitoring Agents. For proper operation of Ops Manager your Ops Manager project must have at least one Monitoring Agent running.

Procedures

Start the Monitoring Agent

Start an Agent Installed with an rpm Package

If you installed the Monitoring Agent using an rpm package, such as on RHEL, CentOS, or SUSE, issue the following command to start the agent:

sudo service mongodb-mms-monitoring-agent start

Start an Agent Installed with a deb Package

If you installed the Monitoring Agent using a deb package, as on Ubuntu, issue the following command to start the agent:

sudo start mongodb-mms-monitoring-agent

Start an Agent Installed with a tar File

Use this command if you installed to Linux or OSX using a tar file. Issue the following command from the directory to which you installed the Monitoring Agent:

nohup ./mongodb-mms-monitoring-agent- >> monitoring-agent.log 2>&1 &

Start the Monitoring Agent on Windows

In Windows Control Panel, open Administrative Tools and then Services. In the list of services, select MongoDB Monitoring Agent. Select the Action menu and select Start.

Stop the Monitoring Agent

You must have at least one Monitoring Agent running to monitor your deployment.

Stop an Agent Installed with an rpm Package

If you installed the Monitoring Agent using an rpm package, such as on RHEL, CentOS, or SUSE, issue the following command to stop the agent:

sudo service mongodb-mms-monitoring-agent stop

Stop an Agent Installed with a deb Package

If you installed the Monitoring Agent using a deb package, as on Ubuntu, issue the following command to stop the agent:

sudo stop mongodb-mms-monitoring-agent

Stop an Agent Installed with a tar File

If you installed to Linux or OSX using a tar file, issue the following command to stop the Monitoring Agent:

pkill -f mongodb-mms-monitoring-agent

Stop the Monitoring Agent on Windows

In Windows Control Panel, open Administrative Tools and then Services. In the list of services, select MongoDB Monitoring Agent. Select the Action menu and select Stop.