summaryrefslogtreecommitdiffstats
path: root/health/health.d/sslcheck.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-03-16 07:50:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-03-16 07:50:45 +0000
commit87cce1817d03daca8c31be82d781ec47a4560087 (patch)
tree06cb3e407ea32dcc385cbe4fb77e251e34bc1e68 /health/health.d/sslcheck.conf
parentReleasing debian version 1.12.2-2. (diff)
downloadnetdata-87cce1817d03daca8c31be82d781ec47a4560087.tar.xz
netdata-87cce1817d03daca8c31be82d781ec47a4560087.zip
Merging upstream version 1.13.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/health.d/sslcheck.conf')
-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