Role service-prometheus: fix NoTraffic alert

This commit is contained in:
Julian Labus 2018-11-07 15:33:41 +01:00
parent 7dcd90cff6
commit ae5dcb1575
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -103,8 +103,8 @@ groups:
- name: fastd - name: fastd
rules: rules:
- alert: NoTraffic - alert: FastdNoTraffic
expr: fastd_tx_bytes{interface!~".*-1312"} == 0 expr: irate(fastd_tx_bytes{interface!~".*-1312"}[5m]) == 0
for: 5m for: 5m
annotations: annotations:
description: 'No TX data was seen on a fastd interface for more than 5 minutes' description: 'No TX data was seen on a fastd interface for more than 5 minutes'