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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.2.0b1 2.1.0p12 2.0.0p29 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
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.