Role service-prometheus: update alert FastdNoTraffic
check `fastd_uptime_seconds` instead of `node_boot_time_seconds`
This commit is contained in:
parent
6d016c034c
commit
7291d75262
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue