Percona monitoring and management


Unable to install pmm-client - docker in mac

Steps to Reproduce:

Followed the documentation in the website.

Expected Result:

Installation succesful.

Actual Result:

[Checking local pmm-agent status…
pmm-agent is not running.
Registering pmm-agent on PMM Server…
Failed to register pmm-agent on PMM Server: Post “”: dial tcp connect: connection refused.
time=“2024-06-10T23:22:45.956+00:00” level=error msg=“Can’t get exit code for ‘pmm-agent setup’. err: wait: no child processes” component=entrypoint
time=“2024-06-10T23:22:45.956+00:00” level=info msg=“‘pmm-agent setup’ exited with -1” component=entrypoint

Hello, if you are running both PMM Server and PMM Client on the same instance but 2 different docker containers you need to add both containers to the same docker network and use internal PMM Server address to connect from PMM Client.

1 Like

This is very helpful. But i am new to networking of docker containers. Could you please help me with how to configure this.

Hello @mysqlcoe,

I suggest finding some docker introduction videos on YouTube that give better examples of how to use docker, and explain docker networking before getting too overwhelmed.