Trying to setup percona monitoring tools

November 16, 2018 1.7k views
Docker MySQL Linux Basics Linux Commands DigitalOcean Cloud Firewalls Networking Firewall Configuration Management CentOS

Hello,

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
1.16.0

[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
  sources:
  services: ssh dhcpv6-client http
  ports: 42000/tcp 42001/tcp 42002/tcp 8080/tcp
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

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

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!

Have another answer? Share your knowledge.