Add monitoring rule for expiring SSL certificates
This commit is contained in:
parent
804d12a5dc
commit
c131e4cd95
|
@ -50,3 +50,11 @@ groups:
|
|||
severity: warning
|
||||
annotations:
|
||||
description: "mail queue {{ $labels.queue }} of {{ $labels.name }} has accumulated a waiting time of {{ $value | humanizeDuration }}."
|
||||
# TLS
|
||||
- alert: CertificateExpiry
|
||||
expr: probe_ssl_earliest_cert_expiry - time() < 86400 * 14
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Certificate for {{ $labels.instance }} is expiring soon."
|
||||
|
|
Loading…
Reference in a new issue