| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | # check if a QoS class is dropping packets |
| 4 | # the alarm is checked every 10 seconds |
| 5 | # and examines the last minute of data |
| 6 | |
| 7 | template: 10min_qos_packet_drops |
| 8 | on: tc.qos_dropped |
| 9 | host labels: _os=linux |
| 10 | lookup: sum -5m unaligned absolute |
| 11 | every: 30s |
| 12 | warn: $this > 0 |
| 13 | units: packets |
| 14 | summary: QOS packet drops |
| 15 | info: Dropped packets in the last 5 minutes |
| 16 | to: silent |