x509check alarm fix (#5645)
##### Summary rename > health/health.d/sslcheck.conf → health/health.d/x509check.conf **Why** sslcheck module (#5365) was removed(#5626) because of memory leak bug (#5624). The module was rewritten in go (#5631, https://github.com/netdata/go.d.plugin/pull/166). New module name - `x509check`. This PR changes name of the alarm.
Ilya Mashchenko committed
Mar 15, 2019 at 14:42 UTC
2cb39939c7afa0bfbf615d9c3a358eaa5a5042af
2 files changed
+4
-4
health/Makefile.am
+1
-1
@@ -68,7 +68,6 @@ dist_healthconfig_DATA = \
68
health.d/retroshare.conf \
69
health.d/softnet.conf \
70
health.d/squid.conf \
71
- health.d/sslcheck.conf \
71
health.d/stiebeleltron.conf \
72
health.d/swap.conf \
73
health.d/tcp_conn.conf \
@@ -79,5 +78,6 @@ dist_healthconfig_DATA = \
78
health.d/udp_errors.conf \
79
health.d/varnish.conf \
80
health.d/web_log.conf \
81
+ health.d/x509check.conf \
82
health.d/zfs.conf \
83
$(NULL)
health/health.d/x509check.conf
renamed
+3
-3
@@ -1,7 +1,7 @@
1
2
-template: sslcheck_days_until_expiration
3
- on: sslcheck.time_until_expiration
4
- calc: $time
2
+template: x509check_days_until_expiration
3
+ on: x509check.time_until_expiration
4
+ calc: $expiry
5
units: seconds
6
every: 60s
7
warn: $this < $days_until_expiration_warning*24*60*60