mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Merge pull request #194 from jdponomarev/patch-1
Update plugins/mongodb/mongo_lag
This commit is contained in:
commit
7e30ed6457
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ import pymongo
|
|||
def _get_members():
|
||||
host = os.environ.get('host', '127.0.0.1')
|
||||
port = os.environ.get('port', 27017)
|
||||
conn = pymongo.Connection(host)
|
||||
conn = pymongo.Connection(host,port)
|
||||
repl_status = conn.admin.command("replSetGetStatus")
|
||||
|
||||
members = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue