joe-elliott / cert-exporter

A Prometheus exporter that publishes cert expirations on disk and in Kubernetes secrets
Apache License 2.0
313 stars 88 forks source link

Exposing paths on servers, missing documentation? #142

Closed WarpedEdge closed 1 month ago

WarpedEdge commented 10 months ago

I cannot find any instructions on exposing certificates with the cert-exporter, both kubernetes nodes and non-kubernetes nodes. For example I am trying to expose certs in

~/etc/pki/

These would include .cer, .crt, or .pem files

Looking through the default values, and looking online from your post: https://grafana.com/blog/2020/03/04/pro-tip-how-to-monitor-client-certificate-expirations-with-prometheus/. Please let me know if I am missing some crucial step that may have been overlooked. Thank you for your time.

EDIT: I found in one of the previous issues of using --insert-cert-glob which i added:

However, even though it shows in the configs for the deployment via kubernetes yaml, it is not showing the new certs in a prometheus query, nor the path. Any ideas what may be going wrong?

sagarmujumale commented 4 months ago

I am having same issue