We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Check manual page of mongodb_replica_set.election

Checkmk Manual

Search in the manual

MongoDB Replica Set - Primary Election

Distribution: official part of Check_MK
License: GPL
Supported Agents: Linux

This check monitors if the primary of a replica set changed.

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).

Discovery

One service is created named 'MongoDB Primary Election'