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

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'