summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/qos.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/qos.conf')
-rw-r--r--src/health/health.d/qos.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/health/health.d/qos.conf b/src/health/health.d/qos.conf
new file mode 100644
index 000000000..f524a1578
--- /dev/null
+++ b/src/health/health.d/qos.conf
@@ -0,0 +1,16 @@
+# you can disable an alarm notification by setting the 'to' line to: silent
+
+# check if a QoS class is dropping packets
+# the alarm is checked every 10 seconds
+# and examines the last minute of data
+
+ template: 10min_qos_packet_drops
+ on: tc.qos_dropped
+host labels: _os=linux
+ lookup: sum -5m unaligned absolute
+ every: 30s
+ warn: $this > 0
+ units: packets
+ summary: QOS packet drops
+ info: Dropped packets in the last 5 minutes
+ to: silent