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

Add flag --direct-connection to pmm-admin

Details

    • New Feature
    • Status: Open
    • Low
    • Resolution: Unresolved
    • 2.35.0
    • None
    • MongoDB_Exporter
    • None
    • Yes
    • Yes
    • No
    • C/S Core

    Description

      As per https://docs.percona.com/percona-monitoring-and-management/setting-up/client/mongodb.html#on-the-command-line:

      Atlas doesn’t support direct connections. When connecting to an Atlas instance, use the pmm-admin option --direct-connection=false. (Doing so will prevent replicaset status from working and the MongoDB Overview dashboard widget will show invalid values.)

      However the option --direct-connection=false is not implemented in pmm-admin:

      # pmm-admin add mongodb --username=mongodb_exporter --password=<redacted> --host=127.0.0.1 --port=27017 --direct-connection=false
      pmm-admin: error: unknown flag --direct-connection

      Attachments

        Activity

          People

            michal.kralik Michal Kralik
            igroenewold Ivan Groenewold
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Smart Checklist