V
V
vlarkanov2018-07-30 09:29:41
PostgreSQL
vlarkanov, 2018-07-30 09:29:41

How to allow zabbix user access in posgresql 9.6?

Hello!
You need to monitor a Postgresql 9.6 (Debian 9.4) server. Assigned a template to the host, added the necessary UserParameters to the zabbix-agent configs. In the logs:

[email protected]_dest DETAIL: The password is not valid for user "zabbix".
The connection corresponds to line 93 in pg_hba.conf: "host all all 127.0.0.1/32 md5"

What to write in pg_hba.conf so that the zabbix user is allowed into Postgresql without a password (on the local machine)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2018-07-30
@vlarkanov

host all zabbix 127.0.0.1/32 trust

C
CityCat4, 2018-07-30
@CityCat4

Probably need to create a zabbix user inside postgres.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question