summaryrefslogtreecommitdiffstats
path: root/health/health.d
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d')
-rw-r--r--health/health.d/sslcheck.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/health/health.d/sslcheck.conf b/health/health.d/sslcheck.conf
new file mode 100644
index 000000000..29a017e3d
--- /dev/null
+++ b/health/health.d/sslcheck.conf
@@ -0,0 +1,10 @@
+
+template: sslcheck_days_until_expiration
+ on: sslcheck.time_until_expiration
+ calc: $time
+ 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