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

"Failed to get PMM Server parameter" after config.

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • 2.2.0, 2.2.1, 2.4.0
    • 2.18.0
    • PMM Admin, PMM Agent, PMM Client
    • The server is running in a docker container on Debian Buster. In front of the server, we have an Nginx proxy with a let's encrypt certificate.

      The client is directly installed on Debian Buster and we run Percona server 5.7.28.

    • Server Features

    Description

      With the pmm2-client version 2.2 we have this issue:

       

      After running `pmm-admin config` i still get the following error:

       

      $ pmm-admin config --server-url=https://admin:******@pmm-server.<our_domain>.ch
      Checking local pmm-agent status...
      pmm-agent is running.
      Registering pmm-agent on PMM Server...
      Registered.
      Configuration file /usr/local/percona/pmm2/config/pmm-agent.yaml updated.
      Reloading pmm-agent configuration...
      Configuration reloaded.
      Checking local pmm-agent status...
      pmm-agent is running.
      $ pmm-admin add mysql
      Failed to get PMM Server parameters from local pmm-agent: pmm-agent is running, but not set up.
      Please run `pmm-admin config` with --server-url flag.

      The client is registered in the PMM server and the config exists. I also checked the logs and the config file, nothing shows any problems.

       

      Does anyone have a solution for this issue?

      Attachments

        Activity

          People

            david.mikus David Mikus (Inactive)
            mawit Martin Wittwer
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist