diff --git a/group_vars/prom/prometheus.yml b/group_vars/prom/prometheus.yml index 09ca35c..d4c06ff 100644 --- a/group_vars/prom/prometheus.yml +++ b/group_vars/prom/prometheus.yml @@ -234,9 +234,17 @@ prometheus__alert_rules_bird: summary: "{{ '$labels.name' | interp }} : {{ '$labels.state' | interp }}" +prometheus__alert_rules_quanta: + - alert: QuantaQueueOverflow + expr: "snAgGblQueueOverflow > 0" + for: 0m + labels: + severity: critical + prometheus__alert_rules: prometheus: "{{ prometheus__alert_rules_prometheus }}" node: "{{ prometheus__alert_rules_node }}" keepalived: "{{ prometheus__alert_rules_keepalived }}" + quanta: "{{ prometheus__alert_rules_quanta }}" #bird: "{{ prometheus__alert_rules_bird }}" ... diff --git a/group_vars/prom/prometheus_snmp.yml b/group_vars/prom/prometheus_snmp.yml index 28d3402..3c6ff99 100644 --- a/group_vars/prom/prometheus_snmp.yml +++ b/group_vars/prom/prometheus_snmp.yml @@ -18,7 +18,9 @@ prometheus_snmp__modules: - snChasFan - snChasPwr - snAgentTemp + - snAgentCpu - snNTP + - snSwInfo lookups: - source_indexes: - ifIndex