Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
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:
https://docs.mongodb.com/manual/reference/privilege-actions/
and have already tried the following with no luck:
- hostInfo
- replSetGetStatus
Thanks.