Certificate expiry: critical only in the last 2 days #34

Closed
opened 2026-11-16 05:21:16 +00:00 by jcoffey-dev · 1 comment
Owner

A certificate that ends in 4 days is critical today, so it repeats every 15 minutes at the same level as "GTM has no live datacenter". Four days is a working-hours problem.

Do: warning from the notice window down to 2 days, critical inside 2 days or once it has ended. Make the critical threshold configurable (certificates.critical_within, default 48h). Applies to every certificate source: files and ports, cert-manager, Vault PKI, Akamai CPS, Cloudflare edge.

A certificate that ends in 4 days is critical today, so it repeats every 15 minutes at the same level as "GTM has no live datacenter". Four days is a working-hours problem. **Do:** warning from the notice window down to 2 days, critical inside 2 days or once it has ended. Make the critical threshold configurable (`certificates.critical_within`, default 48h). Applies to every certificate source: files and ports, cert-manager, Vault PKI, Akamai CPS, Cloudflare edge.
jcoffey-dev added the
priority
p1
enhancement
labels 2026-11-16 05:21:16 +00:00
jcoffey-dev self-assigned this 2026-11-16 05:21:16 +00:00
Author
Owner

Done in #49. Every certificate alert, from any source (hosts' ports and files, site checks, Cloudflare, Akamai CPS, Vault, cert-manager), is now a warning until 48 hours before the certificate ends, then critical. An ended certificate stays critical. The window is certificates.critical_within in obs-beacond.yaml (formats.md, Certificates), and the Certificates page judges by it too. In the next release.

Done in #49. Every certificate alert, from any source (hosts' ports and files, site checks, Cloudflare, Akamai CPS, Vault, cert-manager), is now a warning until 48 hours before the certificate ends, then critical. An ended certificate stays critical. The window is `certificates.critical_within` in obs-beacond.yaml (formats.md, Certificates), and the Certificates page judges by it too. In the next release.
Sign in to join this conversation.