Werk #14766: mk_mongodb.py: mongodb_instace section shows information from a different host

Komponente Checks & agents
Titel mk_mongodb.py: mongodb_instace section shows information from a different host
Datum 31.08.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p29 2.1.0p12 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The agent plugin "mk_mongodb.py" creates the section "mongodb_instance". In some cases, this section contains information from a different host (i.e. replica) from within the MongoDB cluster than the one on which the agent plugin is located. The problem was that the connection settings did not specify to connect to the host directly. Therefore, requests were distributed across the cluster by MongoDB. This has been fixed. If this fix is required, the agent plugin must be redeployed to the hosts.

Zur Liste aller Werks