Add blackbox-exporter for certificate expiry checks #231

Open
teutat3s wants to merge 5 commits from ssl-cert-warning into main
Showing only changes of commit 21df30e9b4 - Show all commits

View file

@ -199,8 +199,8 @@ lib.mapAttrsToList
};
*/
cert_expiry = {
condition = "(probe_ssl_earliest_cert_expiry - time())/(3600*24) < 30";
description = "{{$labels.instance}}: The TLS certificate will expire in less than 30 days: {{$value}}s";
condition = "(probe_ssl_earliest_cert_expiry - time())/(3600*24) < 30";
description = "{{$labels.instance}}: The TLS certificate will expire in less than 30 days: {{$value}}s";
};
# ignore devices that disabled S.M.A.R.T (example if attached via USB)