Trying to setup percona monitoring tools

Posted November 16, 2018 6.1k views
Linux BasicsCentOSMySQLDockerNetworkingFirewallConfiguration ManagementLinux CommandsDigitalOcean Cloud Firewalls


I’ve setup a centos 7 droplet as a Percona Monitoring server with docker installation. I have my database server on a remote location at my client. I am trying to get that server to communicate with the droplet.

[root@client ~]# pmm-admin -v

[root@client ~]pmm-admin config --server pmmServerIp:8080
Unable to connect to PMM server by address: pmmServerIp:8080
Get http://pmmServerIp:8080/qan-api/ping: dial tcp pmmServerIp:8080: connect: connection refused

My firewalld settings in the droplet is below.

[root@percona-monitor ~]# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0
  services: ssh dhcpv6-client http
  ports: 42000/tcp 42001/tcp 42002/tcp 8080/tcp
  masquerade: no
  rich rules:

I am lost at this point. What am I missing? My client can not ping the monitor droplet.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Just for ping please use:

  • curl http://your_server_ip/ping

and must return your version installed, e.g.:

{'version': '1.8.0'}

For more info, please visit:
Deploying Percona Monitoring and Management

Bests regards from Venezuela!