Role service-prometheus: FastdNoTraffic - check if clients are connected

This commit is contained in:
Julian Labus 2019-03-16 23:54:25 +01:00
parent db509e43db
commit f43931649a
No known key found for this signature in database
GPG Key ID: 8AF209F2C6B3572A
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ groups:
- name: fastd
rules:
- alert: FastdNoTraffic
expr: irate(fastd_tx_bytes[5m]) == 0 and on(hostname,interface) (fastd_uptime_seconds / 60) > 15
expr: irate(fastd_tx_bytes[5m]) == 0 and on(hostname, interface) fastd_peers_up_total > 0 and on(hostname, interface) (fastd_uptime_seconds / 60) > 15
for: 5m
annotations:
description: 'No TX data was seen on a fastd interface for more than 5 minutes'