]> arthur.barton.de Git - netdata.git/commitdiff
Update configuration file.
authorFacetoe <facetoe@facetoe.com.au>
Sun, 23 Oct 2016 10:31:54 +0000 (18:31 +0800)
committerFacetoe <facetoe@facetoe.com.au>
Sun, 23 Oct 2016 10:31:54 +0000 (18:31 +0800)
conf.d/python.d/postgres.conf

index 555d91228ddd6e9bf0c6eb902f6e791a8004340c..903ea53d1abc8547e591c8082bf62e9e6c6de120 100644 (file)
 #     priority: 60000  # the JOB's order on the dashboard
 #     retries: 5       # the JOB's number of restoration attempts
 #
-# Databases can be configured with the following options:
+# A single connection is required in order to pull statistics.
+# Connections can be configured with the following options:
 #     name : example_database_job_name
 #     database : example_db_name
 #     user : example_user
 #     password : example_pass
-#     host : example.com
-#     port : 5432
+#     host: localhost
+#     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)
 
-
-# Requires access to the unix socket.
-localhost:
+# Attempt to connect via the Unix socket as the postgres user.
+unix_socket_superuser:
     name : postgres
     database : postgres
-    user : postgres
+