diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index 6f3885cd0..2dc09c959 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -173,7 +173,7 @@ def runInfo(): import pymongo port = getConfPort() - client = pymongo.MongoClient(host='127.0.0.1', port=int(port)) + client = pymongo.MongoClient(host='127.0.0.1', port=int(port), directConnection=True) db = client.admin serverStatus = db.command('serverStatus')