Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to monitor mongos (query router) in a Sharded Cluster Deployement #237

Open
rohitreddyjd opened this issue Aug 17, 2018 · 0 comments

Comments

@rohitreddyjd
Copy link

Hello,
My current test mongoDB deployement is a MongoDB cluster with 3 shards and each Shard has 3 replicaSet members. It also has a 3 query routers (mongos) processes. I specifically want to monitor two actions -- connect (to check connectivity) and connections (to monitor number of connections).
I am able to monitor these actions on all the individual mongod processes (version 3.6 on CentOS). i.e i am able to monitor connect and connections actions on individual shards (both primaries and secondaries), also on config servers (config server replica set members). However, i am unable to monitor the same on mongos processes (Query Routers).

Does this plugin allow monitoring Query Routers (mongos) proceeses?

Mongodb Version :- 3.6
OS version : CentOS 7.5
Connection Check Command
./check_mongodb.py -H mongos1.10gen.net -u monitor_usr -p monitor_pwd -P 27017 -A connect -a admin

When i run the above command, i get the following error message
CRITICAL - General MongoDB Error: there are no users authenticated

the user i am trying to connect has clusterMonitor role. But i also tried elevating the privileges to root and still encountered the same issue.

Any help is greatly appreciated.

Thanks & Regards,
erythroidd

@rohitreddyjd rohitreddyjd changed the title CRITICAL - General MongoDB Error: there are no users authenticated when trying to monitor mongos (query router) Unable to monitor mongos (query router) in a Sharded Cluster Deployement Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant