From: Facetoe Date: Sat, 15 Oct 2016 14:30:40 +0000 (+0800) Subject: Add information on necessary postgresql configuration. X-Git-Tag: v1.5.0~216^2~14 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=41db002ee16a9a429b300b72070718a2ed3289ad;p=netdata.git Add information on necessary postgresql configuration. --- diff --git a/conf.d/python.d/postgresql.conf b/conf.d/python.d/postgresql.conf index 313526e1..555d9122 100644 --- a/conf.d/python.d/postgresql.conf +++ b/conf.d/python.d/postgresql.conf @@ -59,14 +59,19 @@ # 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