Monitoring instances and setting up alerts on MMS
The previous couple of recipes showed us how to set up an MMS account, set up an agent, add hosts, and manage user access to MMS console. The core objective of MMS is monitoring the host instances, which has not been discussed yet. In this recipe, we will perform some operations on the host that we added to MMS in the first recipe and monitor it from the MMS console.
Getting ready
Follow the recipe Signing up for MMS and setting up an MMS monitoring agent, and that is pretty much all that is needed for this recipe. You may choose to have a standalone instance or a replica set, either way is fine. Also, open a mongo shell and connect to the primary instance from it (it is a replica set).
How to do it…
Start by logging into MMS console and clicking on Deployment on the left. Then, click on the Deployment link in the submenu again, as shown in the following screenshot:
Click on one of the hostnames to see a large variety of graphs showing various...