[SERVER-3641] support mongostat through mongos with authentication Created: 17/Aug/11 Updated: 11/Jul/16 Resolved: 25/Oct/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.3, 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Brandon Diamond |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Comments |
| Comment by auto [ 22/Dec/11 ] |
|
Author: {u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}Message: |
| Comment by Ultrabug [ 17/Nov/11 ] |
|
Any possible backport to 2.0 branch please ? this is handy and needed, thanks ! |
| Comment by ganesan pandurangan [ 08/Nov/11 ] |
|
git version: 4957a9cf01b4acf6c3eacf49dff3e8c7eae60fc3 |
| Comment by Brandon Diamond [ 24/Oct/11 ] |
|
mongostat will now utilize authentication when interrogating either a sharded cluster or a replica set (using --discover). Importantly, you must be able to resolve the hostnames in your shard/replica set from the machine on which mongostat is run. Should mongostat report "serverStatus failed" for any discovered node, you must login to that node and add the same credentials used elsewhere with db.addUser from within the admin database. You may see that message for other reasons as well; for instance, if the node is an arbiter. This shouldn't be a problem. Please let me know if there are any issues and I'll re-open. |
| Comment by auto [ 24/Oct/11 ] |
|
Author: {u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}Message: |