To ensure the agent can properly pull stats from MongoDB, you need to configure the user you setup to have sufficient privileges.
This article is outdated and will eventually be removed.
MongoDB has good documentation on the different built-in roles but we recommend using at least dbAdminAnyDatabase, or root if possible.
Comments