The following two authentication methods are supported. Those are the current and previous defaults for MongoDB:
- SCRAM-SHA-1
- MONGODB-CR (For MongoDB versions < 4.0 only)
The MongoDB agent supports LDAP with and without SSL enabled. Here are some possible solutions for the issue:
- Make sure that your MongoDB server has SSL support and allow SSL connections.
- Make sure that your MongoDB agent user has the sufficient privileges to monitor the server and cluster. You can follow the examples in the document to create a user with the appropriate roles on the admin database. The roles may vary depending on MongoDB versions prior or later to 3.0.
- Make sure that you have configured the agent and installed the necessary certificates for your MongoDB server before establishing a secure connection.
- For more information, please refer to the Foglight for MongoDB guide documentation, on sections [MongoDB Agent User Permissions, Configuring an SSL Connection].