# How to monitor the MongoDB sharding cluster with PMM

**URL:** https://forums.percona.com/t/how-to-monitor-the-mongodb-sharding-cluster-with-pmm/6110
**Category:** PMM 1.x
**Created:** [January 8, 2018, 9:25pm UTC](https://forums.percona.com/t/how-to-monitor-the-mongodb-sharding-cluster-with-pmm/6110 "2018-01-08T21:25:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![apaul030515](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@apaul030515](https://forums.percona.com/u/apaul030515)
#### Post date: [January 8, 2018, 9:25pm UTC](https://forums.percona.com/t/how-to-monitor-the-mongodb-sharding-cluster-with-pmm/6110/1 "2018-01-08T21:25:59Z")

</div>

Hello,

In our env, I deploy the original MongoDB3.4 sharding cluster with classic mode(3 mongod+1 mongos).  
I’m very confused when I use PMM to monitor the MongoDB cluster by “pmm-list add mongo cluster” command.

What is the cluster name for MongoDB cluster, In mongo’s config file,I just saw replSetName/clusterRole parameter.  
And if I need to monitor all shards,could I only add mongo url with mongos port?

could someone give me a sample command?  
Thank you for your help,and wait your reply.
