]> arthur.barton.de Git - netdata.git/commitdiff
Add information on necessary postgresql configuration.
authorFacetoe <facetoe@facetoe.com.au>
Sat, 15 Oct 2016 14:30:40 +0000 (22:30 +0800)
committerFacetoe <facetoe@facetoe.com.au>
Sat, 15 Oct 2016 14:30:40 +0000 (22:30 +0800)
conf.d/python.d/postgresql.conf

index 313526e16a42ba169607ef5bcf6b112d94562a0a..555d91228ddd6e9bf0c6eb902f6e791a8004340c 100644 (file)
 #     database : example_db_name
 #     user : example_user
 #     password : example_pass
-#     host: example.com
-#     port: 5432
-
+#     host : example.com
+#     port : 5432
+#
+# Of these options, "database" and "user" are required. If Postgresql is configured
+# to allow connections via the unix socket ("local" is set to "trust" in pg_hba.conf)
+# then a password is not necessary.
 # ----------------------------------------------------------------------
 # AUTO-DETECTION JOBS
 # only one of them will run (they have the same name)
 
-# Depending on how postgresql is configured it may be possible to connect as the postgres user.
+
+# Requires access to the unix socket.
 localhost:
     name : postgres
     database : postgres
+    user : postgres