Commit 2221688f authored by root's avatar root

utilisation de valeur precalculé pour la plage d'overcommit warning

parent 2a37db11
Pipeline #2894 passed with stages
in 13 minutes and 12 seconds
groups:
- name: memoire
rules:
- record: memoire:overcommit
expr: node_memory_Committed_AS_bytes / (node_memory_MemTotal_bytes + node_memory_SwapTotal_bytes)
- alert: overcommit
expr: node_memory_Committed_AS_bytes / (node_memory_MemTotal_bytes + node_memory_SwapTotal_bytes) > 0.9
expr: memoire:overcommit > 0.9
for: 10m
labels:
severity: critical
annotations:
summary: surconsommation memoire
- alert: overcommit
expr: node_memory_Committed_AS_bytes / (node_memory_MemTotal_bytes + node_memory_SwapTotal_bytes) > 0.8
expr: memoire:overcommit > 0.8 and memoire:overcommit <= 0.9
for: 10m
labels:
severity: warning
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment