Signing up for MMS and setting up an MMS monitoring agent

MMS is a cloud-based or on-premise service that enables you to monitor your MongoDB cluster. The on-premise version is available with an enterprise subscription only. It gives you one central place that lets the administrators monitor the health of the server instances and the boxes on which the instances are running. In this recipe, we will see what the software requirements are and how to set up MMS for Mongo.

Getting ready

We will be starting a single instance of mongod, which we will use for monitoring purposes. Refer to the recipe Installing single node MongoDB from Chapter 1, Installing and Starting the Server to start a MongoDB instance and connect to it from a Mongo shell. The monitoring ...

Get MongoDB Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.