Closed
Description
Appears that postgres_exporter doesn't support when SCRAM password authentication is set in pg_hba.conf.
https://www.postgresql.org/docs/10/auth-methods.html#AUTH-PASSWORD
Nov 8 10:52:30 localhost postgres_exporter: time="2018-11-08T10:52:30-05:00" level=info msg="Error opening connection to database (postgresql://ccp_monitoring:PASSWORD_REMOVED@localhost:5432/postgres?sslmode=disable): pq: unknown authentication response: 10" source="postgres_exporter.go:1030"
Thankfully just setting an override line above other entries in pg_hba.conf for the postgres_exporter role to md5 allows it to work for now even when the internal password storage is scram.
Metadata
Metadata
Assignees
Labels
No labels