Role service-prometheus: add alert if no traffic is seen on a fastd interface
This commit is contained in:
parent
2b0e5d7c4a
commit
55591b3146
1 changed files with 9 additions and 0 deletions
|
@ -100,3 +100,12 @@ groups:
|
|||
description: 'A systemd service changed its state more than 5x/5min or 15x/1h'
|
||||
summary: 'Instance {{ $labels.instance }}: Service {{ $labels.name }} is flapping'
|
||||
value: '{{ $labels.name }}'
|
||||
|
||||
- name: fastd
|
||||
rules:
|
||||
- alert: NoTraffic
|
||||
expr: fastd_tx_bytes{interface!~".*-1312"} == 0
|
||||
for: 5m
|
||||
annotations:
|
||||
description: 'No TX data was seen on a fastd interface for more than 5 minutes'
|
||||
summary: 'Instance {{ $labels.instance }}: No traffic on {{ $labels.interface }}'
|
||||
|
|
Loading…
Reference in a new issue