From 68556466ef0272b2d2c669a8c64afc2780c1482e Mon Sep 17 00:00:00 2001 From: Shahzheeb Khan Date: Fri, 15 Apr 2016 11:05:34 -0400 Subject: [PATCH] Update README.md --- plugins/inputs/mongodb/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/mongodb/README.md b/plugins/inputs/mongodb/README.md index 3e0e884f8..a1c0abd94 100644 --- a/plugins/inputs/mongodb/README.md +++ b/plugins/inputs/mongodb/README.md @@ -11,7 +11,7 @@ For authenticated mongodb istances use connection mongdb connection URI ```toml [[inputs.mongodb]] - servers = ["mongodb://myuser:mypassword@myinstance.telegraf.com:27601/mydatabasename?authMechanism=PLAIN&authSource=$external"] + servers = ["mongodb://username:password@10.XX.XX.XX:27101/mydatabase?authSource=admin"] ``` This connection uri may be different based on your environement and mongodb setup. If the user doesn't have the required privilege to execute serverStatus command the you will get this error on telegraf