You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO[0223] Established new database connection to "192.168.56.99:5432". source="postgres_exporter.go:983"
ERRO[0224] Error opening connection to database (postgresql://postgres_exporter:PASSWORD_REMOVED@192.168.56.99:5432/postgres?sslmode=disable): dial tcp 192.168.56.99:5432: connect: connection refused source="postgres_exporter.go:1621"
The set up is pretty straight forward with a single server instance of Grafana + Prometheus and separate standalone PostgreSQL 12. I have used the latest release 0.9.0 / 2021-03-01
My systemd service file is pretty straight forward set up on the prometheus server as
The best solution is to run the postgres_exporter against localhost. This avoids any networking or firewall problems.
For questions/help/support please use our community channels. There are more people available to potentially respond to your request and the whole community can benefit from the answers provided.
Hi All,
I am facing a connection issue with version of exporter I have just set up
To test connections wit the exporter I issue
The logging errors throws
The set up is pretty straight forward with a single server instance of Grafana + Prometheus and separate standalone PostgreSQL 12. I have used the latest release 0.9.0 / 2021-03-01
My systemd service file is pretty straight forward set up on the prometheus server as
My environment file, pretty straightforward too
PostgreSQL Database setup:
User postgres_exporter created as per README and I have allowed all connections over md5 on the PostgreSQL server.
[TEST]
psql -U postgres_exporter -d postgres -h 192.168.56.99 -p 5432
NB: Firewall disabled on prometheus and postgres server
Any thoughts and Ideas welcome.
Thanks
The text was updated successfully, but these errors were encountered: