diff options
Diffstat (limited to 'health')
-rw-r--r-- | health/Makefile.am | 1 | ||||
-rw-r--r-- | health/health.d/sslcheck.conf | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/health/Makefile.am b/health/Makefile.am index 4c4cdd7a03..86ad5969a8 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -68,6 +68,7 @@ dist_healthconfig_DATA = \ health.d/retroshare.conf \ health.d/softnet.conf \ health.d/squid.conf \ + health.d/sslcheck.conf \ health.d/stiebeleltron.conf \ health.d/swap.conf \ health.d/tcp_conn.conf \ diff --git a/health/health.d/sslcheck.conf b/health/health.d/sslcheck.conf new file mode 100644 index 0000000000..29a017e3d6 --- /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 |