For a typical environment, use default settings to configure the agent.
When default settings are used for the agent configuration, the agent does not run in the
authentication mode.
Procedure
-
Run the following command:
install_dir/bin/mongodb-agent.sh config
instance_name
install_dir/samples/mongodb_silent_config.txt
Where
- instance_name is the name that you specify for the unique application
instance.
- install_dir is the installation directory of
the MongoDB agent.
The default installation directory is /opt/ibm/apm/agent.
-
Run the following command to start the agent:
install_dir/bin/mongodb-agent.sh start
instance_name
What to do next
Log in to the Cloud APM console
to view the data that is collected by the agent in the dashboards. For information about using the
Cloud APM console, see Starting the Cloud APM console. If you need help with troubleshooting, see the Troubleshooting section.