Remove obsolete Swap alerts
Swap usage for Qemu is expected
Change-Id: I0f98fac7cedca617f1550ad1985b72787e029278
Prod-Related: PROD-27670 (PROD:27670)
diff --git a/linux/map.jinja b/linux/map.jinja
index ecce569..f9b9ea0 100644
--- a/linux/map.jinja
+++ b/linux/map.jinja
@@ -421,10 +421,6 @@
'warn': 85.0,
'major': 95.0,
},
- 'swap_usage_percentage': {
- 'warn': 50.0,
- 'minor': 90.0,
- },
'inodes_usage_percentage': {
'warn': 85.0,
'major': 95.0,
diff --git a/linux/meta/prometheus.yml b/linux/meta/prometheus.yml
index a3a670c..42d0541 100644
--- a/linux/meta/prometheus.yml
+++ b/linux/meta/prometheus.yml
@@ -177,30 +177,6 @@
annotations:
summary: "{{ mem_threshold }}{%- raw %}% of memory is used"
description: "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes."
- SystemSwapFullWarning:
- {%- endraw %}
- {%- set swap_threshold = monitoring.swap_usage_percentage.warn|float %}
- if: >-
- swap_used_percent >= {{ swap_threshold }}
- for: 2m
- labels:
- severity: warning
- service: system
- annotations:
- summary: "{{ swap_threshold }}{%- raw %}% of swap is used"
- description: "The swap on the {{ $labels.host }} node is {{ $value }}% used for 2 minutes."
- SystemSwapFullMinor:
- {%- endraw %}
- {%- set swap_threshold = monitoring.swap_usage_percentage.minor|float %}
- if: >-
- swap_used_percent >= {{ swap_threshold }}
- for: 2m
- labels:
- severity: minor
- service: system
- annotations:
- summary: "{{ swap_threshold }}{%- raw %}% of swap is used"
- description: "The swap on the {{ $labels.host }} node is {{ $value }}% used for 2 minutes."
SystemRxPacketsDroppedTooHigh:
{%- endraw %}
{%- set net_rx_dropped_threshold = monitoring.rx_packets_dropped_threshold.warn %}