ID: 14766
Title: mk_mongodb.py: mongodb_instace section shows information from a different
host
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
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.