summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/mongodb/mongodb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/python.d.plugin/mongodb/mongodb.conf')
-rw-r--r--collectors/python.d.plugin/mongodb/mongodb.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/mongodb/mongodb.conf b/collectors/python.d.plugin/mongodb/mongodb.conf
index f69acac79..53858ae2e 100644
--- a/collectors/python.d.plugin/mongodb/mongodb.conf
+++ b/collectors/python.d.plugin/mongodb/mongodb.conf
@@ -66,6 +66,8 @@
#
# in all cases, the following can also be set:
#
+# authdb: 'dbname' # database to authenticate the user against,
+# # defaults to "admin".
# user: 'username' # the mongodb username to use
# pass: 'password' # the mongodb password to use
#
@@ -80,3 +82,11 @@ local:
name : 'local'
host : '127.0.0.1'
port : 27017
+
+# authsample:
+# name : 'secure'
+# host : 'mongodb.example.com'
+# port : 27017
+# authdb : 'admin'
+# user : 'monitor'
+# password : 'supersecret'