- Reference >
- Monitoring Agent >
- Configure Monitoring Agent for Access Control >
- Add Monitoring Agent User for MONGODB-CR
Add Monitoring Agent User for MONGODB-CR¶
On this page
Ops Manager Monitoring Agent can use the MongoDB Challenge-Response
(MONGODB-CR
) to authenticate to hosts that enforce access control.
To authenticate using MONGODB-CR
, create a user in the admin
database with the appropriate roles in MongoDB.
Prerequisites¶
There are additional authentication configuration requirements for Ops Manager Monitoring when using MongoDB 2.4 with authentication. See Required Access for Monitoring Agent for more information.
MongoDB 2.6¶
To monitor MongoDB 2.6 instances, create a user in the admin
database with an operation that resembles the following:
See Access Control for MongoDB 2.6 for more information on the required access.
MongoDB 2.4¶
To monitor MongoDB 2.4 instances, create a user in the admin
database with an operation that resembles the following:
See Access Control for MongoDB 2.4 without Profiling for more information on the required access.
Monitor with Database Profiling¶
To monitor MongoDB 2.4 databases with database profiling, create a user
in the admin
database with an operation that resembles the
following:
See Access Control for MongoDB 2.4 with Profiling for more information on the required access.
Monitor without dbStats
¶
To monitor MongoDB 2.4 instance without dbStats
, create
a user in the admin
database with an operation that resembles the
following:
See Access Control for MongoDB 2.4 without dbStats for more information on the required access.
Host Settings¶
In addition to adding the agent as a MongoDB user, you must also specify the host’s authentication settings. You can specify the host’s authentication settings when adding the host, or you can edit the settings for an existing host.