added certificate revocation alert (#8684)
* added certificate revocation alert
Yashar Nesabian committed
Apr 15, 2020 at 13:25 UTC
81b6d6e600333e6731fb4b92e86a8292c79d5a48
1 file changed
+8
health/health.d/x509check.conf
+8
@@ -22,3 +22,11 @@ template: x509check_days_until_expiration
22
crit: $this < $days_until_expiration_critical*24*60*60
23
info: certificate time until expiration
24
to: webmaster
25
+
26
+template: x509check_revocation_status
27
+ on: x509check.revocation_status
28
+ calc: $revoked
29
+ every: 60s
30
+ crit: $this != nan AND $this != 0
31
+ info: certificate revocation status
32
+ to: webmaster