I have been following the process of installing the PMM2 server and client from:
[url]https://www.percona.com/blog/2019/09/19/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/[/url]
and get to the very last point of registering the client on the server and it doesn’t work. It responds with:
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: Post https://admin:3/v1/management/Node/Register: dial tcp: lookup admin on ***.***.***.***: no such host.
Two things are strange here - the IP address shown in the error is not the IP address of the server or the one listed in the --server-url (odd) and also when I put the incorrect password in, it fails due to:
Failed to register pmm-agent on PMM Server: Invalid username or password.
Any advice would be greatly appreciated…
Thank you