change memory rule
This commit is contained in:
parent
e63707d16c
commit
d75cb6b7b6
1 changed files with 3 additions and 3 deletions
|
@ -11,13 +11,13 @@ spec:
|
||||||
- name: hardware
|
- name: hardware
|
||||||
rules:
|
rules:
|
||||||
- alert: MemoryHigh
|
- alert: MemoryHigh
|
||||||
expr: round((((node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes) * 100), 0.1) > 80
|
expr: round((((node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes) * 100), 0.1) > 90
|
||||||
for: 5m
|
for: 5m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: "Memory over 80%"
|
summary: "Memory over 90%"
|
||||||
description: "Memory on node {{ $labels.node }} is over 80% for more than 5 minutes. Plox fix. Memory usage: {{ $value }}%"
|
description: "Memory on node {{ $labels.node }} is over 90% for more than 5 minutes. Plox fix. Memory usage: {{ $value }}%"
|
||||||
- alert: DiskspaceLowWorker
|
- alert: DiskspaceLowWorker
|
||||||
expr: round(node_filesystem_avail_bytes{mountpoint="/", node=~"worker.*"} / 1073742000, 0.1) < 50
|
expr: round(node_filesystem_avail_bytes{mountpoint="/", node=~"worker.*"} / 1073742000, 0.1) < 50
|
||||||
for: 1m
|
for: 1m
|
||||||
|
|
Loading…
Reference in a new issue