summaryrefslogtreecommitdiffstats
path: root/health/health.d/qos.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/qos.conf')
-rw-r--r--health/health.d/qos.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/health/health.d/qos.conf b/health/health.d/qos.conf
new file mode 100644
index 00000000..970ea636
--- /dev/null
+++ b/health/health.d/qos.conf
@@ -0,0 +1,18 @@
+
+# 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
+ os: linux
+ hosts: *
+ 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