ukwa / ukwa-monitor

Dashboard and monitoring system for the UK Web Archive
0 stars 5 forks source link

Add LDL services and add a cert expiration alert #54

Closed anjackson closed 1 year ago

anjackson commented 1 year ago

Turns out we can use Prometheus and the Blackbox Exporter to track/look out for expiring SSL certificates. e.g.

(probe_ssl_earliest_cert_expiry - time())/(60*60*24)

This query will report days until expiration for each HTTPS service in the Blackbox Exporter. Therefore we an add an alert that fires when there's 30 days remaining.

We should also add the alpha and beta services to the system, at least to the extend that our production systems can see them. We still need to exactly resolve how to monitor the production systems.