Mongodb monitoring

Hi,
I have installed pmm-server on my local machine:

osmanf ~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8247c5b8c07c percona/pmm-server:1.0.4 “/opt/entrypoint.sh” 38 minutes ago Up 38 minutes 0.0.0.0:80->80/tcp, 443/tcp pmm-server

And installed pmm-client on a server running mongodb:

[root@textserver log]# pmm-admin list
pmm-admin 1.0.4

PMM Server | x.x.x.x
Client Name | testserver
Client Address | y.y.y.y
Service manager | unix-systemv


SERVICE TYPE NAME CLIENT PORT RUNNING DATA SOURCE OPTIONS


linux:metrics testserver 42000 YES -
mongodb:metrics testserver 42003 YES localhost:27017

But from the web interface (metrics monitor), I could not see the mongo client.
How can I debug the problem?

Thanks,

Is “MongoDB Standalone Instance” dashboard empty for you?
Is the system time in sync on the machine where you run server container?

Otherwise, you can check the metric exporter log for errors /var/log/pmm-mongodb-metrics-42003.log

I found the “MongoDB Standalone Instance” dashboard after my question.
I can see the mongo servers separately in this dashboard.
But mongo cluster is not seen on the other mongo related dashboards. Any special requirement for replica set monitoring?

How can I see mongodb clusters from PMM dashboards?

The current implementation requires you to specify such flags like --cluster --nodetype --replset manually when adding MongoDB instance using pmm-admin.

We are planning to auto-detect nodetype and replset so this is not required. Cluster is still a logical name for the cluster as you want to name it.