Docs Menu
Docs Home
/
MongoDB Ops Manager

Start or Stop the Monitoring Agent

On this page

  • Overview
  • Procedures

Important

Legacy Monitoring Agent is EoL for Ops Manager 4.4

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

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.

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

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

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 &

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.

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

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

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

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

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.

Next

MongoDB Ops Manager

On this page