Role service-prometheus: update alert FastdNoTraffic

check `fastd_uptime_seconds` instead of `node_boot_time_seconds`
This commit is contained in:
Julian Labus 2019-02-05 17:21:19 +01:00
parent 6d016c034c
commit 7291d75262
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{interface!~".*-1312"}[5m]) == 0 and ON(hostname) (time() - node_boot_time_seconds{job="node"}) / 60 > 30
expr: irate(fastd_tx_bytes[5m]) == 0 and ON(hostname) (time() - fastd_uptime_seconds{job="node"}) / 60 > 30
for: 5m
annotations:
description: 'No TX data was seen on a fastd interface for more than 5 minutes'