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.