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