diff options
author | Vladimir Kobal <vlad@prokk.net> | 2021-03-10 21:02:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-10 21:02:45 +0200 |
commit | 720bcf495c9679725479e0bd38c2b2b828be8e6a (patch) | |
tree | 39d46f84530229091377a55eb1660794a7265b3a /health/health.d/net.conf | |
parent | 6aeeb63eca08e85450434f453b9379d02255a343 (diff) |
Move network interface speed, duplex, and operstate variables to charts (#10740)
Diffstat (limited to 'health/health.d/net.conf')
-rw-r--r-- | health/health.d/net.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.d/net.conf b/health/health.d/net.conf index 96c0f3cde6..85e194bb98 100644 --- a/health/health.d/net.conf +++ b/health/health.d/net.conf @@ -20,7 +20,7 @@ hosts: * families: * lookup: average -1m unaligned absolute of received - calc: ($interface_speed > 0) ? ($this * 100 / ($interface_speed * 1000)) : ( nan ) + calc: ($interface_speed > 0) ? ($this * 100 / ($interface_speed)) : ( nan ) units: % every: 10s warn: $this > (($status >= $WARNING) ? (85) : (90)) @@ -34,7 +34,7 @@ hosts: * families: * lookup: average -1m unaligned absolute of sent - calc: ($interface_speed > 0) ? ($this * 100 / ($interface_speed * 1000)) : ( nan ) + calc: ($interface_speed > 0) ? ($this * 100 / ($interface_speed)) : ( nan ) units: % every: 10s warn: $this > (($status >= $WARNING) ? (85) : (90)) |