use chart labels in portcheck alarms (#14137)
Ilya Mashchenko committed
Dec 14, 2022 at 09:19 UTC
3286d48fe0d284780f905be022e11782468a4192
1 file changed
+3
-3
health/health.d/portcheck.conf
+3
-3
@@ -10,7 +10,7 @@ component: TCP endpoint
10
calc: ($this < 75) ? (0) : ($this)
11
every: 5s
12
units: up/down
13
- info: average ratio of successful connections over the last minute (at least 75%)
13
+ info: TCP host $label:host port $label:port liveness status
14
to: silent
15
16
template: portcheck_connection_timeouts
@@ -25,7 +25,7 @@ component: TCP endpoint
25
warn: $this >= 10 AND $this < 40
26
crit: $this >= 40
27
delay: down 5m multiplier 1.5 max 1h
28
- info: average ratio of timeouts over the last 5 minutes
28
+ info: percentage of timed-out TCP connections to host $label:host port $label:port in the last 5 minutes
29
to: sysadmin
30
31
template: portcheck_connection_fails
@@ -40,5 +40,5 @@ component: TCP endpoint
40
warn: $this >= 10 AND $this < 40
41
crit: $this >= 40
42
delay: down 5m multiplier 1.5 max 1h
43
- info: average ratio of failed connections over the last 5 minutes
43
+ info: percentage of failed TCP connections to host $label:host port $label:port in the last 5 minutes
44
to: sysadmin