Check the endpoint and the measurement path
A blackbox probe tests a service from an external vantage point, rather than reading only the certificate files on the application server. That matters when a load balancer, CDN or reverse proxy presents the certificate customers actually receive.
Prometheus scraping the exporter successfully is a separate event from the exporter successfully probing its target. The scrape can return metrics even when the target's TLS handshake fails. A complete monitor therefore needs probe success, collection health and certificate-age interpretation, rather than a single expiry expression.
Setup: define the target a customer reaches
Record the intended hostname, port, protocol, module and probe location. Include DNS resolution, IPv4 or IPv6 expectations, HTTP redirects and the server name used for TLS. A probe aimed at an origin IP without the right hostname can test a different certificate or fail hostname verification.
Keep certificate verification enabled for the customer-facing check. A diagnostic probe that skips verification answers a different question and should not silently replace the security check. Protect exporter access and target selection so the probing service does not become an unrestricted internal-network requester.
Inspect the TLS probe in order
- Check the Prometheus target status for the exporter, then examine
probe_successfor the requested endpoint. This separates collection failure from a tested endpoint failure. - Review the selected probe module, DNS result, redirect destination and TLS settings. Use the exporter's supported debug output in a controlled context; redact sensitive URLs or headers from shared records.
- Inspect the returned expiry metric, such as
probe_ssl_earliest_cert_expiry, only when the probe produced the expected TLS information. Compare the observed chain and hostname with the endpoint's current certificate deployment. - Write separate rules for failed probes, unavailable collection and certificates approaching expiry. Define missing-series behavior so a failed handshake cannot make an expiry-only dashboard appear safe.
Illustrative incident: expiry warnings disappear when TLS fails
In this illustrative scenario, an operator watches only a days-to-expiry chart. After an endpoint certificate becomes invalid, the probe no longer produces the expected expiry observation. The graph becomes empty, but no rule treats absence or failed probing as actionable.
The team adds a probe-failure check, verifies missing-data behavior and retains the expiry alert for successful TLS observations. It rehearses the conditions against a test endpoint. The example shows a monitoring gap and does not report a real Clouvenix certificate incident.
Diagnostic evidence
| Observation | Evidence | Interpretation |
|---|---|---|
| Exporter scrape is healthy, target fails | probe_success and debug result | Probe-level failure |
| Different certificate than expected | DNS, redirects and TLS hostname | Different endpoint path |
| Expiry chart has no samples | TLS result and metric presence | Missing data needs its own policy |
| Internal probe works, external fails | Probe location and address family | Network vantage differs |
Verify monitoring and renewal together
Use a controlled endpoint to exercise a valid certificate, an invalid hostname and an unavailable service. Confirm each condition reaches the correct test receiver. Choose warning windows based on the renewal process and response coverage, rather than copying a threshold without an owner.
After a production renewal, verify the certificate received from each relevant public termination point. A newly written file on disk does not prove every proxy reloaded or every endpoint changed. Keep origin and edge certificate responsibilities distinct when the architecture has both.
SOP
Record hostnames, probe modules, network locations, renewal owners and alert routes. Monitor probe configuration changes alongside certificate deployment. The acceptance record should show current endpoint validity and working notification paths, with an escalation for missing telemetry and a separate response to an approaching expiry.
See Clouvenix observability monitoring for implementation and operational handover.
Technical reference
Official reference 1; Official reference 2; Official reference 3. Documentation checked 19 October 2026; confirm behavior for your deployed edition and version.