Not able to execute status for replica sets

Hi Team,

Not able to execute Mongo health check commands like rs.status() and replSetGetStatus commands for Mongo read only user . Is there any alternative to do health check for replica sets using read only user? Kindly suggest.

Reagards,
work4mongo

Hi @390ed733ef3432fd811d

The built-in Cluster Monitor role is perfect for this.

Provides read-only access to monitoring tools, such as the MongoDB Cloud Manager and Ops Manager monitoring agent.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.