prometheus: add queue overflow quanta alert
This commit is contained in:
parent
69701f4875
commit
229a6617de
2 changed files with 10 additions and 0 deletions
|
@ -234,9 +234,17 @@ prometheus__alert_rules_bird:
|
||||||
summary: "{{ '$labels.name' | interp }} :
|
summary: "{{ '$labels.name' | interp }} :
|
||||||
{{ '$labels.state' | interp }}"
|
{{ '$labels.state' | interp }}"
|
||||||
|
|
||||||
|
prometheus__alert_rules_quanta:
|
||||||
|
- alert: QuantaQueueOverflow
|
||||||
|
expr: "snAgGblQueueOverflow > 0"
|
||||||
|
for: 0m
|
||||||
|
labels:
|
||||||
|
severity: critical
|
||||||
|
|
||||||
prometheus__alert_rules:
|
prometheus__alert_rules:
|
||||||
prometheus: "{{ prometheus__alert_rules_prometheus }}"
|
prometheus: "{{ prometheus__alert_rules_prometheus }}"
|
||||||
node: "{{ prometheus__alert_rules_node }}"
|
node: "{{ prometheus__alert_rules_node }}"
|
||||||
keepalived: "{{ prometheus__alert_rules_keepalived }}"
|
keepalived: "{{ prometheus__alert_rules_keepalived }}"
|
||||||
|
quanta: "{{ prometheus__alert_rules_quanta }}"
|
||||||
#bird: "{{ prometheus__alert_rules_bird }}"
|
#bird: "{{ prometheus__alert_rules_bird }}"
|
||||||
...
|
...
|
||||||
|
|
|
@ -18,7 +18,9 @@ prometheus_snmp__modules:
|
||||||
- snChasFan
|
- snChasFan
|
||||||
- snChasPwr
|
- snChasPwr
|
||||||
- snAgentTemp
|
- snAgentTemp
|
||||||
|
- snAgentCpu
|
||||||
- snNTP
|
- snNTP
|
||||||
|
- snSwInfo
|
||||||
lookups:
|
lookups:
|
||||||
- source_indexes:
|
- source_indexes:
|
||||||
- ifIndex
|
- ifIndex
|
||||||
|
|
Loading…
Reference in a new issue