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

Failed to register pmm-agent on PMM Server: .

[[email protected]~]# pmm-agent --version
ProjectName: pmm-agent
Version: 2.9.1
PMMVersion: 2.9.1
Timestamp: 2020-08-04 11:08:46 (UTC)
FullCommit: f87359b1408887d014f88842d98c3bc7e6fe7d02
[[email protected] ~]# pmm-admin config --server-insecure-tls --server-url=https://admin:[email protected]:443
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: .
[[email protected]~]# docker ps
CONTAINER ID        IMAGE                       COMMAND                CREATED             STATUS              PORTS                                      NAMES
f2c13d67c702        percona/pmm-server:latest   "/opt/"   6 minutes ago       Up 6 minutes>80/tcp,>443/tcp   pmm-server
[[email protected]~]# netstat -na |grep 443
tcp        0      0         ESTABLISHED
tcp        0      0         ESTABLISHED
tcp6       0      0 :::443                  :::*                    LISTEN
unix  3      [ ]         STREAM     CONNECTED     10474436 /run/systemd/journal/stdout

The graphana dashboard is live, but I can't connect the percona cluster


  • steve.hoffmansteve.hoffman Percona Percona Staff Role
    FIrst thing I'd look at would be iptables getting in the way on your PMM server...I have a centos server that when I use port mapping (vs host networking) to the docker container I have to add an explicit iptables rule to allow traffic from the outside world to the docker0 adapter.  And mine also shows the port as open in listen.  
    Here's what I run  'iptables -I INPUT 10 -i docker0 -j ACCEPT" which the 10 just puts the rule before the last reject rule (10th line).  
  • yrmenezesyrmenezes Current User Role Contributor

    [[email protected]_apps]# cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 7.8 (Maipo)
    Firewall is not active.
    Port 443 is active
    [[email protected] data_apps]# netstat -na |grep 443
    tcp        0      0   *               LISTEN
    tcp        0      0         ESTABLISHED
    tcp        0      0         ESTABLISHED

    [[email protected]~]# rpm -qa |grep pmm2-client-2.9.1-6.el7.x86_64

    [[email protected] ~]# ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
        link/ether 00:50:56:90:06:10 brd ff:ff:ff:ff:ff:ff
        inet brd scope global eth0
           valid_lft forever preferred_lft forever
        inet6 fe80::250:56ff:fe90:610/64 scope link
           valid_lft forever preferred_lft forever
    3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
        link/ether 02:42:7a:51:58:bc brd ff:ff:ff:ff:ff:ff
        inet brd scope global docker0
           valid_lft forever preferred_lft forever
        inet6 fe80::42:7aff:fe51:58bc/64 scope link
           valid_lft forever preferred_lft forever - docker running and database percona (Master)

Sign In or Register to comment.

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