summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-11-07 23:47:39 +0200
committerGitHub <noreply@github.com>2022-11-07 23:47:39 +0200
commitdd7982cfd9632723a02998ff480551aed3dcdf9a (patch)
tree1a704d00e718e4650472ed5a3d2e1a46b4b79658 /health
parent3841691b650850f8c2b690053e8d8f7e1e4d5bc5 (diff)
health/ping: use 'host' label in alerts info (#13955)
Diffstat (limited to 'health')
-rw-r--r--health/health.d/ping.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/health/health.d/ping.conf b/health/health.d/ping.conf
index 16827851f0..cbe7c30c9d 100644
--- a/health/health.d/ping.conf
+++ b/health/health.d/ping.conf
@@ -1,3 +1,4 @@
+# you can disable an alarm notification by setting the 'to' line to: silent
template: ping_host_reachable
families: *
@@ -11,7 +12,7 @@ component: Network
every: 10s
crit: $this == 0
delay: down 30m multiplier 1.5 max 2h
- info: reachability status of the network host
+ info: network host $label:host reachability status
to: sysadmin
template: ping_packet_loss
@@ -28,7 +29,7 @@ component: Network
warn: $this > $green
crit: $this > $red
delay: down 30m multiplier 1.5 max 2h
- info: packet loss percentage to the network host over the last 10 minutes
+ info: packet loss percentage to the network host $label:host over the last 10 minutes
to: sysadmin
template: ping_host_latency
@@ -45,5 +46,5 @@ component: Network
warn: $this > $green OR $max > $red
crit: $this > $red
delay: down 30m multiplier 1.5 max 2h
- info: average latency to the network host over the last 10 seconds
+ info: average latency to the network host $label:host over the last 10 seconds
to: sysadmin