0

I need to grant access to a role in MongoDB to allow it to run getCommand({ping:1}). What kind of action/resource is it?

  • `db.getMongo()` or `db.hello()` may work better. Another solution could be this one: https://stackoverflow.com/questions/37839365/simple-http-tcp-health-check-for-mongodb/63790795#63790795 – Wernfried Domscheit Dec 27 '22 at 13:49

0 Answers0