fuuko/prometheus: Actually show node name in alerts
This commit is contained in:
parent
37f95b3d79
commit
c26539e607
|
@ -140,13 +140,13 @@ in
|
|||
name = "NodeHighLoad";
|
||||
expr = ''sum by (instance) (node_load15) / count by (instance) (node_cpu_seconds_total{mode="system"}) > 2'';
|
||||
for = "15m";
|
||||
description = "This node is having a per-core load ≥ 2 for the last 15 minutes.";
|
||||
description = "Node {{ $labels.instance }} is having a per-core load ≥ 2 for the last 15 minutes.";
|
||||
}
|
||||
{
|
||||
name = "NodeHighMemory";
|
||||
expr = ''(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes > 0.9'';
|
||||
for = "2m";
|
||||
description = "This node is using more than 90 % of available RAM.";
|
||||
description = "Node {{ $labels.instance }} is using more than 90 % of available RAM.";
|
||||
}
|
||||
{
|
||||
name = "TP440ACPIBroken";
|
||||
|
|
Loading…
Reference in a new issue