Pmm-client registered to pmm-server but metrics not visible

Hello everyone,

I have successfully registered pmm-client to pmm-server and even the status shows ‘registered’
But the metrics are not visible on pmm-server.

I have used this command to register:

pmm-admin config --server-url=https://<user>:<password>@<server IP>

Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Registered.
Configuration file /usr/local/percona/pmm2/config/pmm-agent.yaml updated.
Reloading pmm-agent configuration...
Configuration reloaded.
Checking local pmm-agent status...
pmm-agent is running.

After this if i run the following I am getting this:
 $ pmm-admin summary
Failed to get PMM Server parameters from local pmm-agent: pmm-agent is not connected to PMM Server.
$ pmm-admin status
Failed to get PMM Agent status from local pmm-agent: pmm-agent is not connected to PMM Server.

But the metrics for this client is not visible, anyone please help me with this.
thanks

1 Like

When i check in the pmm-server UI

Agent ID of pmm-client is

id: /agent_id/25e2cff0-5d0f-4ecf-bdd9-bc2c5ddc5f0f
1 Like

I thought it was a sync issue, but it is not and the status is still unknown
Attaching my /var/log/syslog

Jun  9 20:44:38 stg-XXXXXXXXXt[3742720]: #033[31mERRO#033[0m[2022-06-09T20:44:38.767+05:30] Failed to connect to stgXXXXXX:443: timeout.  #033[31mcomponent#033[0m=client
Jun  9 20:44:54 stg-XXXXXXXX[3742720]: #033[36mINFO#033[0m[2022-06-09T20:44:54.683+05:30] Connecting to https://admin:***@stg-XXXX443/ ...  #033[36mcomponent#033[0m=client
Jun  9 20:44:59 stgXXXXXXXXX[3742720]: #033[31mERRO#033[0m[2022-06-09T20:44:59.684+05:30] Failed to connect to stgXXXXXXX443: timeout.  #033[31mcomponent#033[0m=client

1 Like

As the status on CLI says registered and connected , when i try to explicitly unregister the node, i get the following error:

# pmm-admin unregister --force 
Failed to get PMM Server parameters from local pmm-agent: pmm-agent is not connected to PMM Server.

It is very confusing, where is all my pmm-clients metrics been pushed to? PMM server dashboard is still the same the status of this node is still UNKNOWN.

1 Like

I’ve searched everything possible, still the same, if the CLI shows that the pmm-agent is running I am unable to find where the traffic is going from pmm-client, any hint on what could’ve gone wrong , is it a network issue ?
If someone pointed me the right direction that could be a great help !
Thanks

1 Like