diff options
author | Yashar Nesabian <nesabian@gmail.com> | 2020-04-15 13:25:34 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 11:55:34 +0300 |
commit | 81b6d6e600333e6731fb4b92e86a8292c79d5a48 (patch) | |
tree | f3cc2ba3952f95c168f4bf12f4b3711a4f4b76f5 /health | |
parent | bd0bae3d1a90be9422cf04110300f1715dfec8cc (diff) |
added certificate revocation alert (#8684)
* added certificate revocation alert
Diffstat (limited to 'health')
-rw-r--r-- | health/health.d/x509check.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/health/health.d/x509check.conf b/health/health.d/x509check.conf index a56f48fc3f..dfca377062 100644 --- a/health/health.d/x509check.conf +++ b/health/health.d/x509check.conf @@ -22,3 +22,11 @@ template: x509check_days_until_expiration crit: $this < $days_until_expiration_critical*24*60*60 info: certificate time until expiration to: webmaster + +template: x509check_revocation_status + on: x509check.revocation_status + calc: $revoked + every: 60s + crit: $this != nan AND $this != 0 + info: certificate revocation status + to: webmaster |