prometheus: add queue overflow quanta alert

This commit is contained in:
jeltz 2023-11-01 07:11:30 +01:00
parent 69701f4875
commit 229a6617de
Signed by: jeltz
GPG key ID: 800882B66C0C3326
2 changed files with 10 additions and 0 deletions

View file

@ -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 }}"
... ...

View file

@ -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