Mongo_monitor probe cannot connect to mongo db server when bind_ip is configured to refuse localhost (127.0.0.1)
- In mongodb it is possible to restrict which IP addresses are allowed to access the mongodb server
- This is configured with the bind_ip setting in the mongod.conf file.
- By default it is configured to allow connections from the local loopback address 127.0.0.1, but it is possible to configure the IP address of the LAN interface instead
- When this is configured the mongodb_monitor probe cannot connect to the dbserver as it is coded to use localhost as the address of the server
There is no permanent solution at this time. The issue is currently being researched. Additional information will be provided as it becomes available.
There is a development build of the probe that can support bind_ip.
Please log a support case and request the probe be supplied from defect DE318407