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
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
2022-11-12 17:00:54 UTC:10.2.10.20(49376):pgscv@rdsadmin:[28030]:FATAL: pg_hba.conf rejects connection for host "X.X.X.X", user "pgscv", database "rdsadmin", SSL on
Pgscv logs
{"level":"warn","service":"pgscv","time":"2022-11-17T14:00:55Z","message":"connect to database 'rdsadmin' failed: failed to connect to `host=rds-host user=pgscv database=rdsadmin`: server error (FATAL: pg_hba.conf rejects connection for host \"X.X.X.X\", user \"pgscv\", database \"rdsadmin\", SSL on (SQLSTATE 28000)); skip"}
Additional context
It's not critical issue, but such kind of behavior creates a lot of flood in aws rds logs and it's not possible to fix it.
The text was updated successfully, but these errors were encountered:
Yes, It's related to invalid credentials, but in AWS RDS (I use pgscv to monitor our AWS RDS instances) no one can access to rdsadmin database, except RDS system users.
Describe the bug
Pgscv ignores
databases
regular expression when tries to discover pg_stat_statements extension. https://github.com/lesovsky/pgscv/blob/master/internal/collector/config.go#L185Steps to reproduce
Add aws rds to dictionary services.
Expected behavior
Pgscv should check that database match with regex on pg_stat_statements discovering before connecting to this database.
pgSCV startup options
Config file
Errors and Logs
Aws rds logs
Pgscv logs
Additional context
It's not critical issue, but such kind of behavior creates a lot of flood in aws rds logs and it's not possible to fix it.
The text was updated successfully, but these errors were encountered: