Check_cert: option to specify connection address independently of URL

It seems to me that the check_cert plugin is missing an option to specify the connection address (host or IP) independently of the URL address—similar to the –server option in check_httpv2.

I’m currently migrating HTTP check rules from the deprecated “Check HTTP service” plugin, and I have a use case where I need to monitor certificates on standby reverse proxies. These proxies terminate the same certificates but are reachable via different IPs than the primary sites.

I found that I can handle this with check_httpv2, but check_cert provides better visibility and integration for certificate-specific monitoring.

Am I correct that this option doesn’t exist in check_cert, or is there a configuration feature I may have overlooked?

Thanks!

1 Like

We have the same need.

Does anyone know how to deal with a reverse proxy which is having different instances? And moreover, the same DNS name is resolved internally and externally to different IP addresses, that’s the reason we must specify the IP address to connect to.

That topic is relevant for us as well.

We would be gratefull if the “connect to specific host”-option would be possible for the cert-check as well, because we use the certificate details a lot.