Not the answer you need?
Register and ask your own question!

pmm-admin check-network showing incorrect data?

Hi,
I am trying to setup the pmm.
Here is the setup:
[[email protected] ~]# pmm-admin list
pmm-admin 1.0.4

PMM Server | 192.168.35.197
Client Name | realrom2dbreplication
Client Address | 192.168.35.228
Service manager | unix-systemv






SERVICE TYPE NAME CLIENT PORT RUNNING DATA SOURCE OPTIONS





linux:metrics realrom2dbreplication 42000 YES -
mysql:queries realrom2dbreplication 42001 YES root:***@unix(/var/lib/mysql/mysql.sock) query_source=slowlog
mysql:metrics realrom2dbreplication 42002 YES root:***@unix(/var/lib/mysql/mysql.sock)


[[email protected] ~]# pmm-admin check-network --no-emoji
PMM Network Status

Server | 192.168.35.197
Client | 192.168.35.228

* Client --> Server

SERVER SERVICE CONNECTIVITY

Consul API OK
QAN API OK
Prometheus API OK

Connection duration | 487.113µs
Request duration | 894.78µs
Full round trip | 1.381893ms

* Client <-- Server



METRIC NAME PROMETHEUS ENDPOINT REMOTE STATE



linux realrom2dbreplication 192.168.35.228:42000 PROBLEM
mysql realrom2dbreplication 192.168.35.228:42002 PROBLEM


and as you can see Server reports a problem with the client. But from the Server 192.168.35.197 I can telnet to client 192.168.35.228 42002, Also I can see via:
netstat -tanp | grep 192.168.35.197
that the server has opened connections to the client:
tcp 0 0 192.168.35.228:42000 192.168.35.197:46969 TIME_WAIT -
tcp 0 0 192.168.35.228:34369 192.168.35.197:80 ESTABLISHED 19950/percona-qan-a
tcp 0 0 192.168.35.228:42002 192.168.35.197:55354 TIME_WAIT -
tcp 0 0 192.168.35.228:42000 192.168.35.197:47115 TIME_WAIT -


and there are no graphs generated.

Any clues? I am using the latest versions of the server and client.
Regards!

Comments

  • weberweber Advisor Inactive User Role Beginner
    Hello,

    Check out this page http://server/prometheus/targets to see the status of endpoints.
    Also you can check /var/log/prometheus.log from the inside of container (to enter it type: docker exec -ti pmm-server bash)
This discussion has been closed.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.