On Mon, Jun 21, 2021 at 08:12:50AM -0700, 'Athira Manohar' via Prometheus Users wrote:
> I am not able to get postgres certificate expiry details using blackbox
> exporter as it throws error even after successful connectivity. Please
> suggest the a way to capture postgress certificate expiry details into
> prometheus.
This can't be done with the blackbox exporter, because it is inherently
designed for line-based protocols, and Postgres does not use a like-based
protocol. See
https://github.com/prometheus/blackbox_exporter/issues/295
for more details of an equivalent situation.
- Matt