Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5351

The documentation on MongoDB user privileges has been corrected

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      Platform Sprint 13
    • Needs Review:
      Yes
    • Needs QA:
      Yes

      Description

      The link below:

      https://www.percona.com/doc/percona-monitoring-and-management/2.x/conf-mongodb.html

       

      The correct privilege is readAnyDatabase. Here is an example:

      db.getSiblingDB("admin").createUser({ user: "mongodb_exporter", pwd: "mongo", roles: [ { role: "clusterMonitor", db: "admin" }, { role: "readAnyDatabase", db: "admin" } ] })
      

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                vinicius.grippa Vinicius Grippa
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 0 minutes
                    0m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour, 20 minutes
                    1h 20m