.

********* If you don’t need software, use the mongostat -h IP :port command to monitor the mongodb status in real time

———————————————————————————————————————— ————

Open cloud.mongodb.com and click on trial for 30 days (rest assured, if we only need to monitor the database without automatic deployment and online backup, it is free to use without time limit, follow this article will only use the free monitoring function, ignore this 30 days. Of course, automatic deployment and online backup are great features, and I strongly recommend purchasing licenses if you can.)

2. Enter personal information

 

3. Enter organization information

\

4. Set a group name (if you have multiple rooms that do not communicate with each other and mongodb is deployed, multiple groups are required; otherwise, one group is sufficient)

\

5. After registration, enter the management interface, there is a big prompt to guide you to install its automatic management, but do not click on them at this time, we only need the online monitoring function

\

6. Click on Deployment>>Agents to find the large monitoring 5.4.2.354 below, which has options for each system. Make your own choices as needed. (Note the operating system version, error can not rely on the boot)

\

7. Select the system to go to the download page (you may not see the following page if the network is not good), that little 64-bit is the download link, Windows will prompt you to fill in the APIkey when downloading and installing, Linux will tell you the location of the configuration file here, you need to modify the configuration file yourself. And start the agent as prompted.

\

8. Next ADD the monitored mongodb server, go back to the Deployment page of Deployment and click ADD’s Existing mongodb Deployment

\

9. Fill in the monitored database IP address and port number, and set security options as prompted. After submission, your Settings will be verified

\

10. At the end of the installation process, there are several points to note:

The monitor agent can be installed on a different machine than the mongodb database, but the mongodb IP address you specified must be reachable and the machine name must be pingable.