diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-06-20 23:28:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 23:28:23 +0300 |
commit | 19ab6abd96be7c9574d331a48893e0a4ff414839 (patch) | |
tree | 1caac56e0f87babce8c3f0271a54cf31552fcb59 /src | |
parent | 6f76453d76e5f6344d2fc0c364d30894967f3642 (diff) |
improve ping_host_reachable alert calc (#17982)
Diffstat (limited to 'src')
-rw-r--r-- | src/health/health.d/ping.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/health/health.d/ping.conf b/src/health/health.d/ping.conf index 0e434420dd..a91b231c38 100644 --- a/src/health/health.d/ping.conf +++ b/src/health/health.d/ping.conf @@ -6,7 +6,7 @@ type: Other component: Network lookup: average -30s unaligned of loss - calc: $this != nan AND $this < 100 + calc: ($this == nan) ? (nan) : ($this < 100) units: up/down every: 10s crit: $this == 0 |