Documentation forSolarWinds Observability

Add a MongoDB database instance

See MongoDB system requirements to setup your MongoDB database to be monitored with SolarWinds Observability.

To monitor your MongoDB database instance with SolarWinds Observability, complete the following:

  1. In SolarWinds Observability, click Add Data in the upper-right corner.

  2. On the Add Data dialog, click Database.

  3. On the initial Add Database Instance dialog, click MongoDB.

  4. Click Add Host to install a new SolarWinds Observability Agent, or choose an existing SolarWinds Observability Agent. Click Next to continue.

  5. Choose the query capture method. If you choose Log, copy and execute the provided command on your MongoDB instance. If you choose Profiler, copy the script and add it to your MongoDB config file. Click Next to continue.

    Choose On Host (recommended)if the service is in the same physical or virtual machine as the OS where you will install the SolarWinds Observability Agent. Npcap must be installed if you are monitoring databases for on-host data gathering on a Windows Installation.
    Choose Log to monitor queries using the log.
    Choose Profiler to monitor queries using the Profiler.

  6. Enter the instance address, username, and password for the MongoDB instance. If you selected On Host, enter the bindings for the instance. Click next to continue.

    Click the Enable SSL toggle and enter your SSL credentials to enable SSL. 

  7. Copy and execute the script on your MongoDB instance. The user account created with this script will be used by the SolarWinds Observability Agent. Click Next to continue.

    If you have an existing user account that you want to use, enter the credentials in the script box before clicking the copy to clipboard button.

  8. Verify the information entered on the Summary tab. Click Finish.

    When you complete the configuration, SolarWinds Observability displays data collected for the Database Instance entity. See Entity Explorer for details.

See SolarWinds Observability introduction for an overview of Database Instance entities and how they work in SolarWinds Observability.