-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1075 from stackhpc/monitor-swap-usage
Add alerts for low available swap space
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
releasenotes/notes/add-alerts-for-swap-availability-75e28ed7f913d1ec.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
features: | ||
- | | ||
Added two alerts (Warning and critical) that are triggered when the ratio | ||
of (free_swap_sppace / total_swap_space) is below thresholds. | ||
Each threshold can be modified by alterting value of | ||
``alertmanager_node_free_swap_warning_threshold_ratio`` and | ||
``alertmanager_node_free_swap_critical_threshold_ratio``. | ||
Currently this solution has limitation of having one-size fits all policy. | ||
This can cause unwanted alerts for the hosts which utilise swap heavily | ||
Therefore it is recommended to tune the thresholds or apply silence rules | ||
for the needs. |