summaryrefslogtreecommitdiffstats
path: root/health/health.d/x509check.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-17 17:57:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-17 17:57:47 +0000
commit1d63948d79ca6f32889656692d6736c9127f2ee1 (patch)
treebb26a34d7c7b62ac30b0d4da15584efe3e2a754a /health/health.d/x509check.conf
parentReleasing debian version 1.13.0-1. (diff)
downloadnetdata-1d63948d79ca6f32889656692d6736c9127f2ee1.tar.xz
netdata-1d63948d79ca6f32889656692d6736c9127f2ee1.zip
Merging upstream version 1.14.0~rc0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/health.d/x509check.conf')
-rw-r--r--health/health.d/x509check.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/health/health.d/x509check.conf b/health/health.d/x509check.conf
new file mode 100644
index 00000000..dc0e6c69
--- /dev/null
+++ b/health/health.d/x509check.conf
@@ -0,0 +1,10 @@
+
+template: x509check_days_until_expiration
+ on: x509check.time_until_expiration
+ calc: $expiry
+ units: seconds
+ every: 60s
+ warn: $this < $days_until_expiration_warning*24*60*60
+ crit: $this < $days_until_expiration_critical*24*60*60
+ info: certificate time until expiration
+ to: webmaster