amimof / node-cert-exporter

An SSL certificate Prometheus exporter
Apache License 2.0
173 stars 35 forks source link

Documentation? Changing the port? #84

Open sascha-wi opened 1 year ago

sascha-wi commented 1 year ago

I am struggling to get this thing running with the provided binary. I noticed its using the same port as our apache exporter (9117). I don't see any documentation?

amimof commented 10 months ago

The idea is to run this in a container. For example

docker run -p 9117:9117 ghcr.io/amimof/node-cert-exporter --logtostderr=true --include-glob /etc/ssl/*/*.pem

Where 9117:9117 is a port mapping from your local host to the container. You may change this mapping if 9117 is already allocated on your host.