mongoDB logo

MongoDB Monitoring Template

Telegraf Plugins used:

Included Resources:

  • 1 Telegraf Configuration: 'mongodb-config'
  • 1 Dashboards: 'MongoDB'
  • 1 bucket: 'mongodb'
  • 1 label: 'mongodb'

Quick Install

If you have your InfluxDB credentials configured in the CLI, you can install this template with:

https://raw.githubusercontent.com/influxdata/community-templates/master/mongodb/mongodb.yml

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, the data objects are stored as separate documents inside a collection — instead of storing the data into the columns and rows of a traditional relational database. The motivation of MongoDB is to implement a data store that provides high performance, high availability and automatic scaling.

MongoDB is good for building:

  • An e-commerce product catalog
  • Blogs and content management systems
  • Real-time analytics and high-speed logging, caching and high scalability
  • Configuration management
  • Maintaining location-based data (geospatial data, mobile and social networking sites, evolving data requirements and loosely coupled objectives) — the design may change over time.

Why monitor MongoDB

To ensure a performant and available MongoDB database, you should be monitoring your MongoDB instance in order to determine the current state of your database. With the right diagnostic data, you can resolve identified problems, fix small issues before they become problematic and just ensure continued availability and success.

MongoDB monitoring dashboard

How to use the MongoDB Monitoring Template

Once your InfluxDB credentials have been properly configured in the CLI, you can install the MongoDB monitoring template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configuration, which includes the relevant MongoDB Input. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value. All of this will depend on how your organization is currently running MongoDB.

To find out more information about environmental variables within the MongoDB Telegraf configuration, consult the following link.

Key MongoDB monitoring metrics to monitor

Some of the most important MongoDB monitoring metrics that you should proactively monitor include:

  • MongoDB uptime
  • Available connections
  • Open connections
  • Query operations
  • Document operations
  • Network I/O
  • Commands per second
  • Flushes

Related Resources

MongoDB Telegraf Input Plugin

Collect and graph statistics from your MongoDB performance monitoring database to keep it performant.

Infrastructure and application monitoring

The solution to monitor your entire infrastructure stack, including servers, containers, databases and cloud services.

Scroll to Top