EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 0f4c4e4e authored by Karl Grube's avatar Karl Grube
Browse files

ignore one specific certificate

parent 60aedd7a
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ groups:
summary: "Certificate (instance {{ $labels.instance }})"
description: "Certificate more than 70% expired.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: CertificateExpirationCritical
expr: ((quantile by (serial_no,cn,instance) (0.5, ssl_cert_not_after)) and ((quantile by (serial_no,cn,instance) (0.5, ((ssl_cert_not_after - time()) / (ssl_cert_not_after - ssl_cert_not_before))) ) < 0.2)) - time()
expr: ((quantile by (serial_no,cn,instance) (0.5, ssl_cert_not_after)) and ((quantile by (serial_no,cn,instance) (0.5, ((ssl_cert_not_after{serial_no!="14430537077252496941928767712285731324"} - time()) / (ssl_cert_not_after - ssl_cert_not_before))) ) < 0.2)) - time()
for: 2m
labels:
severity: critical
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment