[SERVER-25626] Minimum permissions to run rs.printSlaveReplicationInfo Created: 15/Aug/16 Updated: 20/Aug/16 Resolved: 20/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | asdf01 | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Hey Guys I would like to write a script that collects stats about the replication lag on our nodes. It looks like I can get that information with rs.printSlaveReplicationInfo() and db.printSlaveReplicationInfo(). However I can't seem to find what permissions / privileges I need to grant a user to allow him to be able to run this command. I looked on the page:
Thanks. |
| Comments |
| Comment by Ramon Fernandez Marina [ 20/Aug/16 ] |
|
Thanks for your report michael.qiu@wdtl.com. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources. Regards, |