mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 20:36:21 +01:00
Fix NodeMemoryHighUtilization alert
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
This commit is contained in:
parent
c3ec6e8af1
commit
e15e7d6a7b
@ -326,7 +326,7 @@
|
|||||||
{
|
{
|
||||||
alert: 'NodeMemoryHighUtilization',
|
alert: 'NodeMemoryHighUtilization',
|
||||||
expr: |||
|
expr: |||
|
||||||
100 - node_memory_MemAvailable_bytes{%(nodeExporterSelector)s} / node_memory_MemTotal_bytes{%(nodeExporterSelector)s} * 100 < 10
|
100 - (node_memory_MemAvailable_bytes{%(nodeExporterSelector)s} / node_memory_MemTotal_bytes{%(nodeExporterSelector)s} * 100) > 90
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
'for': '15m',
|
'for': '15m',
|
||||||
labels: {
|
labels: {
|
||||||
@ -334,7 +334,9 @@
|
|||||||
},
|
},
|
||||||
annotations: {
|
annotations: {
|
||||||
summary: 'Host is running out of memory.',
|
summary: 'Host is running out of memory.',
|
||||||
description: 'Memory is filling up at {{ $labels.instance }}, has been above 90% for the last 15 minutes, is currently at {{ printf "%.2f" $value }}%.',
|
description: |||
|
||||||
|
Memory is filling up at {{ $labels.instance }}, has been above 90% for the last 15 minutes, is currently at {{ printf "%.2f" $value }}%.
|
||||||
|
|||,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user