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 agent used for sending the statistics of the mongo instance to the monitoring service uses Python and pymongo. Refer to the recipe Connecting to a single node using a Python client in Chapter 1, Installing and Starting the Server to learn more...