Compare commits
1 commit
068b261745
...
816e7fc3e0
Author | SHA1 | Date | |
---|---|---|---|
816e7fc3e0 |
1 changed files with 4 additions and 6 deletions
|
@ -2,22 +2,20 @@ groups:
|
||||||
- name: Fux-Generic
|
- name: Fux-Generic
|
||||||
rules:
|
rules:
|
||||||
- alert: HostJobFlaky
|
- alert: HostJobFlaky
|
||||||
expr: group by(instance, job) (changes(up{org="fux"}[24h]) > 7)
|
expr: group by(host, job) (changes(up{org="fux"}[24h]) > 7)
|
||||||
for: 0m
|
for: 0m
|
||||||
labels:
|
labels:
|
||||||
severity: info
|
severity: info
|
||||||
org: fux
|
|
||||||
annotations:
|
annotations:
|
||||||
summary: Job {{ $labels.job }} flaky on (instance {{ $labels.instance }})
|
summary: Job {{ $labels.job }} flaky on (host {{ $labels.instance }})
|
||||||
description: "The job {{ $labels.job }} on target: {{ $labels.instance }} has been flaky over the last 24 hours."
|
description: "The job {{ $labels.job }} on target: {{ $labels.host }} has been flaky over the last 24 hours."
|
||||||
- name: Fux-SNMP
|
- name: Fux-SNMP
|
||||||
rules:
|
rules:
|
||||||
- alert: SnmpTargetMissing
|
- alert: SnmpTargetMissing
|
||||||
expr: up{job=~".*snmp.*", org="fux"} == 0
|
expr: up{job=~".*snmp|SNMP.*"} == 0
|
||||||
for: 15m
|
for: 15m
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
severity: critical
|
||||||
org: fux
|
|
||||||
annotations:
|
annotations:
|
||||||
summary: SNMP target missing (instance {{ $labels.instance }})
|
summary: SNMP target missing (instance {{ $labels.instance }})
|
||||||
description: "SNMP target: {{ $labels.instance }} has disappeared for more the 15 min."
|
description: "SNMP target: {{ $labels.instance }} has disappeared for more the 15 min."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue