Check manual page of mongodb_replica_set_election
MongoDB Replica Set: Primary Election
|Distribution||Official part of Checkmk|
Replica sets can trigger an election in response to:
- adding a new node to the replica set
- initiating a replica set
- performing replica set maintenance using methods such as rs.stepDown() or rs.reconfig()
- secondary members losing connectivity to the primary for more than the configured timeout (10 seconds by default).
One service is created named 'MongoDB Primary Election'.