I set up a MongoDB cluster with replica sets.

I wish to have something like a dashboard or a "health status". My current solution is to connect to the cluster and query the replication state once in a while.

How can I find out that a host failed or get the health status of the cluster?

I already searched for solutions and found solutions like this: Percona Monitoring and Management but it considers performance metrics rather than failover related information.

  • It's a good question, I don't know of any tool, more than connecting using a GUI like Compass, where you can see it visually. And think about asking in the developers forum. – Minsky Nov 20 at 5:47
  • In case you're using Atlas, check Project>Integrations – Minsky Nov 25 at 7:19

Browse other questions tagged or ask your own question.