PMM Showing wrong number of nodes and services on dashboard

Hi Team,
We have only one node in monitoring that is also its own pmm server, but still on dashboard we are getting worng number of nodes and services. sometimes the node value goes inot negative i.e -1. Please let me know any solution for this

We have installed PMM server using docker. Pleas let me know how to clean up all the history data in PMM?

1 Like

Please use API request → delete_series


curl -G -u admin:admin -k '' --data-urlencode 'match[]={__name__=~".*"}'
1 Like

Negative values are really puzzling. Both elements are using count function.

Could you provide an output of the next query?
count by (agent_type) (up)

1 Like

Sorry for delayed reply.
Please find output in attached

1 Like

It looks strange that no vmagent is working in your installation.
Could you make sure that pmm-agent is uptodate?

pmm-admin --version
1 Like

sh-4.2# pmm-admin --version
ProjectName: pmm-admin
Version: 2.21.0
PMMVersion: 2.21.0
Timestamp: 2021-08-26 14:26:43 (UTC)
FullCommit: 7aa417cd9db7091a018032112b0f1d98665934fa

1 Like

Also could you provide an output of “pmm-admin list” command?
It looks like vmagent isn’t working on your installation.

Screenshot 2021-10-15 at 10.47.27

1 Like

I am getting below error. I am executing command with “root” user.

~ #docker exec -it pmm-server pmm-admin list
Unauthorized. Please check username and password.

1 Like