From a9c5edfeb3c99443f8c8c5419d5b81e8f197b149 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Tue, 12 Nov 2024 13:40:46 +0100 Subject: [PATCH] alertmanager: don't alert on high memory page faults This alert is non actionable, we still monitor high memory usage. --- modules/prometheus/alert-rules.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/prometheus/alert-rules.nix b/modules/prometheus/alert-rules.nix index 3c1b601a..556071b8 100644 --- a/modules/prometheus/alert-rules.nix +++ b/modules/prometheus/alert-rules.nix @@ -234,10 +234,10 @@ lib.mapAttrsToList }; */ - host_memory_under_memory_pressure = { - condition = "rate(node_vmstat_pgmajfault[1m]) > 1000"; - description = "{{$labels.instance}}: The node is under heavy memory pressure. High rate of major page faults: {{$value}}"; - }; + #host_memory_under_memory_pressure = { + # condition = "rate(node_vmstat_pgmajfault[1m]) > 1000"; + # description = "{{$labels.instance}}: The node is under heavy memory pressure. High rate of major page faults: {{$value}}"; + #}; # ext4_errors = { # condition = "ext4_errors_value > 0";