Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Brown
ansible
Commits
2b4a7bf7
Commit
2b4a7bf7
authored
Jan 19, 2022
by
Andrea Veri
Browse files
Send a page when the free memory is less than 5% of available memory on
a system
parent
0f3ab300
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/prometheus/templates/alerting.rules.j2
View file @
2b4a7bf7
...
...
@@ -21,7 +21,7 @@ groups:
annotations:
summary: "{% raw %}Endpoint {{ $labels.instance }} is down for more than 10s{% endraw %}"
- alert: High memory usage
expr: (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes > 0.
8
expr: (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes > 0.
95
annotations:
summary: "{% raw %}Instance {{ $labels.instance }} has less than 20% of RAM available{% endraw %}"
- alert: High disk usage
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment