Preparing MongoDB for monitoring
Published 18 February 2025
Setting up a MongoDB User
When connected to the admin database on the MongoDB instance, run:
use admin;
db.createUser(
{
	user: "redgatemonitor",
	pwd: "<password>",
	roles: [{role: "clusterMonitor", db: "admin"}]
});