MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.

MongoDB can run over multiple servers, balancing the load or duplicating data to keep the system up and running in case of hardware failure.

For monitoring MongoDB, In Linux/Unix, a Java-based agent is used. In Windows, you can use a .net-based agent (preferred) or a Java-based agent. The agent runs the queries periodically to collect metrics/detailed DB information. Mongo DB monitors covers a wide range of metrics comprising the following:

Note: You can see the monitor information for specific monitors by clicking on the Information icon provided alongside the monitor type.

Platform Supported

MongoDB Monitoring is supported for the following operating systems:

Pre-Requisites

Note: Pre-requisites are the same for Host and Kubernetes.

Monitor Group Configuration

Mongo DB Configuration

To successfully configure MongoDB monitoring, you are required to fill in the following fields:

Common Configuration

All metrics in monitors have the following common fields which are optional:

Monitor Group-Specific Configuration

The following monitor groups have additional configuration fields, described below:

Note: In case a user selects Specific DB option, the user also has to provide the name of the DB which they want to use in the DB Name field.

Note: In case a user selects Specific DB option, the user also has to provide the name of the DB which they want to use in the DB Name field.

Note:

  1. In case a user selects the Specific DB option, the user also has to provide the name of the DB which they want to use in the DB Name
  2. The above metric configurations are the same for both the Host and Kubernetes configurations.

Deploy Monitors

Deploy the configured monitors using our machine agent. The following fields need to be filled in to deploy:

Based on the requirement, you can select any one of the following:

Notes:

Validation

Once the Mongo DB monitor is validated after completing the above fields, it automatically comes on the monitoring homepage with the number of monitors running, failed, or disabled details.