Blackbox SSL certificate will expire soon warning
SSL certificate expires in less than 20 days
>>>
3 <=
round
((
last_over_time
(
[10m]) -
time
()) / 86400, 0.1) < 20
The rule takes the latest probe_ssl_earliest_cert_expiry value over the past 10 minutes, subtracts the current Unix time to get seconds until the certificate expires, converts that to days, rounds to the nearest 0.1 day, and fires when the result is at least 3 days but less than 20 days. In other words, the alert triggers when the SSL certificate is set to expire in 3‑19.9 days.
Get Alert✕
Download
Copy to Clipboard