summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/net.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/net.conf')
-rw-r--r--src/health/health.d/net.conf24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/health/health.d/net.conf b/src/health/health.d/net.conf
index 448a3733d..609741aca 100644
--- a/src/health/health.d/net.conf
+++ b/src/health/health.d/net.conf
@@ -19,7 +19,7 @@ component: Network
class: Workload
type: System
component: Network
-host labels: _os=linux
+host labels: _os=linux windows
lookup: average -1m unaligned absolute of received
calc: ($interface_speed > 0) ? ($this * 100 / ($interface_speed * 1000)) : ( nan )
units: %
@@ -35,7 +35,7 @@ host labels: _os=linux
class: Workload
type: System
component: Network
-host labels: _os=linux
+host labels: _os=linux windows
lookup: average -1m unaligned absolute of sent
calc: ($interface_speed > 0) ? ($this * 100 / ($interface_speed * 1000)) : ( nan )
units: %
@@ -214,7 +214,6 @@ host labels: _os=linux
class: Workload
type: System
component: Network
-host labels: _os=linux freebsd
lookup: average -1m unaligned of received
units: packets
every: 10s
@@ -225,7 +224,6 @@ host labels: _os=linux freebsd
class: Workload
type: System
component: Network
-host labels: _os=linux freebsd
lookup: average -10s unaligned of received
calc: $this * 100 / (($1m_received_packets_rate < 1000)?(1000):($1m_received_packets_rate))
every: 10s
@@ -237,3 +235,21 @@ host labels: _os=linux freebsd
info: Ratio of average number of received packets for the network interface ${label:device} over the last 10 seconds, \
compared to the rate over the last minute
to: silent
+
+# -----------------------------------------------------------------------------
+# output queue length
+
+ template: network_interface_output_queue_length
+ on: net.queue_length
+ class: Errors
+ type: System
+ component: Network
+host labels: _os=windows
+ units: packets
+ every: 10s
+ warn: $length > 2
+ delay: up 1m down 1m multiplier 1.5 max 1h
+ summary: System network interface ${label:device} output queue length
+ info: The Output Queue Length on interface ${label:device} should be zero, otherwise there are delays and bottlenecks.
+ to: silent
+