From 41db002ee16a9a429b300b72070718a2ed3289ad Mon Sep 17 00:00:00 2001 From: Facetoe Date: Sat, 15 Oct 2016 22:30:40 +0800 Subject: [PATCH] Add information on necessary postgresql configuration. --- conf.d/python.d/postgresql.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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 -- 2.39.2