Werk #14765: mk_mongodb.py: primary host is listed under active secondaries

Component Checks & agents
Title mk_mongodb.py: primary host is listed under active secondaries
Date Aug 30, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The plugin "mk_mongodb.py" provides the section "mongodb_replica", which contains information on the MongoDB primary, secondaries, and arbiters. The primary host was listed as both primary and active secondary. This is also shown in the corresponding check, "mongodb_replica". This has been fixed.

The fix requires that the agent plugin, "mk_mongodb.py", is updated on the relevant hosts.

To the list of all Werks