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

**URL:** <https://forums.percona.com/t/pmm-client-registered-to-pmm-server-but-metrics-not-visible/16058>\
**Category:** Uncategorized\
**Tags:** pmm, percona\
**Created:** [June 9, 2022, 1:19pm UTC](https://forums.percona.com/t/pmm-client-registered-to-pmm-server-but-metrics-not-visible/16058 "2022-06-09T13:19:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjana\_Chandrasheka](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Sanjana\_Chandrasheka](https://forums.percona.com/u/Sanjana_Chandrasheka)\
**Post date:** [June 9, 2022, 1:19pm UTC](https://forums.percona.com/t/pmm-client-registered-to-pmm-server-but-metrics-not-visible/16058/1 "2022-06-09T13:19:13Z")

</div>

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:

```auto
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

---

<div class="post-metadata">

**Author:** ![Sanjana\_Chandrasheka](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Sanjana\_Chandrasheka](https://forums.percona.com/u/Sanjana_Chandrasheka)\
**Post date:** [June 9, 2022, 1:29pm UTC](https://forums.percona.com/t/pmm-client-registered-to-pmm-server-but-metrics-not-visible/16058/2 "2022-06-09T13:29:18Z")

</div>

When i check in the pmm-server UI

 ![Screenshot 2022-06-09 at 6.57.48 PM](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/e/e9b4b2252f1f33b9f1dddc1e8f1e7c9384c8494c.jpeg)

Agent ID of pmm-client is

```auto
id: /agent_id/25e2cff0-5d0f-4ecf-bdd9-bc2c5ddc5f0f

```

---

<div class="post-metadata">

**Author:** ![Sanjana\_Chandrasheka](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Sanjana\_Chandrasheka](https://forums.percona.com/u/Sanjana_Chandrasheka)\
**Post date:** [June 9, 2022, 3:18pm UTC](https://forums.percona.com/t/pmm-client-registered-to-pmm-server-but-metrics-not-visible/16058/3 "2022-06-09T15:18:04Z")

</div>

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

```auto
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

```

---

<div class="post-metadata">

**Author:** ![Sanjana\_Chandrasheka](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Sanjana\_Chandrasheka](https://forums.percona.com/u/Sanjana_Chandrasheka)\
**Post date:** [June 10, 2022, 3:23am UTC](https://forums.percona.com/t/pmm-client-registered-to-pmm-server-but-metrics-not-visible/16058/4 "2022-06-10T03:23:02Z")

</div>

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

```auto
# 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.

---

<div class="post-metadata">

**Author:** ![Sanjana\_Chandrasheka](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Sanjana\_Chandrasheka](https://forums.percona.com/u/Sanjana_Chandrasheka)\
**Post date:** [June 11, 2022, 2:39pm UTC](https://forums.percona.com/t/pmm-client-registered-to-pmm-server-but-metrics-not-visible/16058/5 "2022-06-11T14:39:24Z")

</div>

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
