Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Postgres TLS monitoring support #838

Open
kozlek opened this issue Aug 15, 2024 · 0 comments
Open

Add Postgres TLS monitoring support #838

kozlek opened this issue Aug 15, 2024 · 0 comments
Labels
feature New feature or request

Comments

@kozlek
Copy link

kozlek commented Aug 15, 2024

Describe the feature request

Hi,

I would like to monitor the certificate expiration of my Postgres TLS instance using Gatus.
Monitoring connection already works using TCP, but I would like to get the certificate check too.

Both TLS and STARTTLS checks fail when hitting a Postgres TLS only instance.
Based on what I found on the net, it seems Postgres does protocol negotiation before SSL is started.

The openssl project added a special hook to be able to debug Postgres TLS with s_client:

openssl s_client -starttls postgres -connect <my_domain>:5432

Do you think it would be possible to implement a special handler for the Postgres + TLS protocol ?

Why do you personally want this feature to be implemented?

I had recently an outage due to an expired Postgres certificate and it took me some time to notice it.
I decided to set up a status page and I choose Gatus as it's both simple and featureful 🚀

How long have you been using this project?

1 month

Additional information

No response

@TwiN TwiN added the feature New feature or request label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants