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

cannot check_queries_per_second with mongos #218

Open
mimosvk opened this issue May 2, 2017 · 0 comments
Open

cannot check_queries_per_second with mongos #218

mimosvk opened this issue May 2, 2017 · 0 comments

Comments

@mimosvk
Copy link

mimosvk commented May 2, 2017

In shard cluster with mongos router server in front, is prohibited to connect via mongo to local database.

So I changed db definition for local counters storage in def check_queries_per_second from db = con.local to db = con.nagios_check_db and it started to work.

Please change this in code for support MongoDB cluster with mongos router.

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