Client Status Down

We’re new to the PMM tool and are quite confused. There is a lot of terms that are we are seeing that don’t seem to make sense.

This is what we are dealing with at the moment on our first client installation.

  1. Is the Docker server the Server that is listed below? What does the server initiate connection instead of the client with the pmm-client installed
  2. Is the client host supposed to have an IP address of 172.17.0.1 in the output of ‘ip addr’?
  • Connection: Client <-- Server

SERVICE TYPE NAME REMOTE ENDPOINT STATUS HTTPS/TLS PASSWORD


linux:metrics servername 172.17.0.1–>realIPaddress:42000 DOWN YES YES
mysql:metrics servername 172.17.0.1–>realIPaddress:42002 DOWN YES YES

Hi there, thanks for your question.
First of all, can I just let you know about a couple of sources of information in case they help answer your queries:

https://www.percona.com/blog/2018/01…t-pmm-metrics/ ?
https://www.percona.com/doc/percona-monitoring-and-management/faq.html

If not, let me know… thanks!

Hi gh0st , it looks to me like your client is also in a docker container. This is fine, but you may want to consider launching the container with --net=host so that you get the public IP address pushed down to the client, not the 172.17 address.
In terms of the direction of traffic, since PMM uses Prometheus for metrics collection, this service is pull-based, meaning PMM Server initiates connections to the exporter. Therefore if you’re using docker for your clients you then need to make sure you enable the correct -p passthrough for network communications, and also ensure that the host’s firewall is permitting traffic on the open ports. For example 42000 is the port for linux metrics (node_exporter) and 42002 is the port for MySQL metrics (mysqld_exporter).