Hi.
My Mongodb hsot server got down. so I turned on my host server. but percona monitering was not working.
what i did is.
For server
docker stop pmm-server;
docker remove pmm-server;
docker run -d -p 9000:443 --volumes-from pmm-data --name pmm-server --restart always percona/pmm-server:2 ;
For client
systemctl stop pmm-agent;
I already had mongodb account dor pmm-agent. so i skipped it.
sudo pmm-admin config --server-insecure-tls ‘–server-url=https://admin:admin!1@128.10.98.40:9000’ &&
sudo pmm-admin add mongodb --username=pmm ‘–password=admin’
Running “pmm-admin status” I got.
replicaSet2-1 ~]$ pmm-admin status
Agent ID : /agent_id/96b19e67-987e-4dae-8c7f-9cc726df7e45
Node ID : /node_id/ce5b4e66-2e10-48f9-baf5-ce6521f6f8a6
Node name: replicaSet2-1
PMM Server:
URL : https://128.10.98.40:9000/
Version: 2.41.2
PMM Client:
Connected : true
Time drift : 36h55m18.999559884s
Latency : 571.224µs
Connection uptime: 100
pmm-admin version: 2.41.2
pmm-agent version: 2.41.2
Agents:
/agent_id/03594277-6cad-4ccf-a968-94c2a3caa041 node_exporter Running 42000
/agent_id/0dc08a34-26f0-4b10-829c-bc50d8278937 mongodb_exporter Running 42002
/agent_id/5b434973-b018-4e0e-8576-d60491981ecf mongodb_profiler_agent Running 0
/agent_id/b8480b8e-b87f-41fb-9799-aebfc49ac9cf vmagent Running 42001
From percona server I see nothing on mongodb dash board