summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-12-14 09:19:03 +0200
committerGitHub <noreply@github.com>2022-12-14 09:19:03 +0200
commit3286d48fe0d284780f905be022e11782468a4192 (patch)
tree320d33bb232d71456f3789235e28c937dd11f247 /health
parent5847aeadcce2ea03dba23fc7baabcd4d04dfecb9 (diff)
use chart labels in portcheck alarms (#14137)
Diffstat (limited to 'health')
-rw-r--r--health/health.d/portcheck.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/health/health.d/portcheck.conf b/health/health.d/portcheck.conf
index 8cbd7729c8..653c373e11 100644
--- a/health/health.d/portcheck.conf
+++ b/health/health.d/portcheck.conf
@@ -10,7 +10,7 @@ component: TCP endpoint
calc: ($this < 75) ? (0) : ($this)
every: 5s
units: up/down
- info: average ratio of successful connections over the last minute (at least 75%)
+ info: TCP host $label:host port $label:port liveness status
to: silent
template: portcheck_connection_timeouts
@@ -25,7 +25,7 @@ component: TCP endpoint
warn: $this >= 10 AND $this < 40
crit: $this >= 40
delay: down 5m multiplier 1.5 max 1h
- info: average ratio of timeouts over the last 5 minutes
+ info: percentage of timed-out TCP connections to host $label:host port $label:port in the last 5 minutes
to: sysadmin
template: portcheck_connection_fails
@@ -40,5 +40,5 @@ component: TCP endpoint
warn: $this >= 10 AND $this < 40
crit: $this >= 40
delay: down 5m multiplier 1.5 max 1h
- info: average ratio of failed connections over the last 5 minutes
+ info: percentage of failed TCP connections to host $label:host port $label:port in the last 5 minutes
to: sysadmin