Skip to content

Commit 032b184

Browse files
authored
Revert "Add alerts for low available swap space"
1 parent f23d52c commit 032b184

File tree

3 files changed

+0
-37
lines changed

3 files changed

+0
-37
lines changed

etc/kayobe/kolla/config/prometheus/system.rules

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,6 @@ groups:
2424
summary: "Prometheus exporter at {{ $labels.instance }} reports low memory"
2525
description: "Available memory is {{ $value }} GiB."
2626

27-
- alert: LowSwapSpace
28-
expr: (node_memory_SwapFree_bytes / node_memory_SwapTotal_bytes) < {% endraw %}{{ alertmanager_node_free_swap_warning_threshold_ratio }}{% raw %}
29-
for: 1m
30-
labels:
31-
severity: warning
32-
annotations:
33-
summary: "Swap space at {{ $labels.instance }} reports low memory"
34-
description: "Available swap space is {{ $value | humanizePercentage }}. Running out of swap space causes OOM Kills."
35-
36-
- alert: LowSwapSpace
37-
expr: (node_memory_SwapFree_bytes / node_memory_SwapTotal_bytes) < {% endraw %}{{ alertmanager_node_free_swap_critical_threshold_ratio }}{% raw %}
38-
for: 1m
39-
labels:
40-
severity: critical
41-
annotations:
42-
summary: "Swap space at {{ $labels.instance }} reports low memory"
43-
description: "Available swap space is {{ $value | humanizePercentage }}. Running out of swap space causes OOM Kills."
44-
4527
- alert: HostOomKillDetected
4628
expr: increase(node_vmstat_oom_kill[5m]) > 0
4729
for: 5m

etc/kayobe/stackhpc-monitoring.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ alertmanager_low_memory_threshold_gib: 5
1212
# link. Change to false to disable this alert.
1313
alertmanager_warn_network_bond_single_link: true
1414

15-
# Threshold to trigger an LowSwapSpace alert on swap space depletion (ratio).
16-
# When the ratio of free swap space is lower than each of these values, warning
17-
# and critical alerts will be triggered respectively.
18-
alertmanager_node_free_swap_warning_threshold_ratio: 0.25
19-
alertmanager_node_free_swap_critical_threshold_ratio: 0.1
20-
2115
###############################################################################
2216
# Exporter configuration
2317

releasenotes/notes/add-alerts-for-swap-availability-75e28ed7f913d1ec.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)