MongoDB monitoring service on localhost

Is there a MongoDB server performance monitoring tool that I can run on a local or local computer? I am concerned about privacy issues when using third-party hosting tools such as MongoDB Monitoring Service.

+4
source share
3 answers

The MongoDB documentation has information on MongoDB monitoring , including monitoring strategies, related database commands, and some self-service options .

If you are concerned about the information collected by MongoDB Cloud Manager (nÊe MMS) or you want to get this information yourself, you can see a list of the database commands used by the monitoring agent .

+4
source

MongoBird is the best monitoring tool for MongoDB. It can be installed on all platforms. because it is developed in Java. This way you can install mongobird on the local host.

+2
source

MongoDB has created a free monitoring tool in version 4.0 that runs on localhost. To use it, just connect to the database and run db.enableFreeMonitoring()

For instance:

 mongo test MongoDB shell version v4.0.4 connecting to: mongodb://127.0.0.1:27017/test 

After connecting, you can enable monitoring as follows:

 test> db.enableFreeMonitoring() { "state": "enabled", "message": "To see your monitoring data, navigate to the unique URL below. Anyone you share the URL with will also be able to view this page. You can disable monitoring at any time by running db.disableFreeMonitoring().", "url": "https://cloud.mongodb.com/freemonitoring/cluster/HZL3ISL73QLWSNEAYMER2FGR3BINAEGJ", "userReminder": "", "ok": 1 } 

Then go to the provided https://cloud.mongodb.com/freemonitoring/... ( https://cloud.mongodb.com/freemonitoring/... ).

Finally, to turn off monitoring:

 test> db.disableFreeMonitoring() 
0
source

All Articles