improve ping_host_reachable alert calc (#17982)
Ilya Mashchenko committed
Jun 20, 2024 at 23:28 UTC
19ab6abd96be7c9574d331a48893e0a4ff414839
1 file changed
+1
-1
src/health/health.d/ping.conf
+1
-1
@@ -6,7 +6,7 @@
6
type: Other
7
component: Network
8
lookup: average -30s unaligned of loss
9
- calc: $this != nan AND $this < 100
9
+ calc: ($this == nan) ? (nan) : ($this < 100)
10
units: up/down
11
every: 10s
12
crit: $this == 0