diff options
Diffstat (limited to 'health/health.d/consul.conf')
-rw-r--r-- | health/health.d/consul.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/health/health.d/consul.conf b/health/health.d/consul.conf index e106f3db0b..dff6d2df35 100644 --- a/health/health.d/consul.conf +++ b/health/health.d/consul.conf @@ -1,5 +1,18 @@ # you can disable an alarm notification by setting the 'to' line to: silent + template: consul_license_expiration_time + on: consul.license_expiration_time + class: Errors + type: ServiceMesh +component: Consul + calc: $license_expiration + every: 60m + units: seconds + warn: $this < 14*24*60*60 + crit: $this < 7*24*60*60 + info: Consul Enterprise licence expiration time on node ${label:node_name} datacenter ${label:datacenter} + to: sysadmin + template: consul_autopilot_health_status on: consul.autopilot_health_status class: Errors |