From deba86906d43c32d0922ed48713bbd86163582b1 Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Sat, 24 Jun 2023 18:50:24 +0200 Subject: [PATCH] revert memory rule changes (back to 80%) Signed-off-by: Tom Neuber --- prometheus/alerts.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prometheus/alerts.yaml b/prometheus/alerts.yaml index a6238e9..d187232 100644 --- a/prometheus/alerts.yaml +++ b/prometheus/alerts.yaml @@ -11,13 +11,13 @@ spec: - name: hardware rules: - alert: MemoryHigh - expr: round((((node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes) * 100), 0.1) > 90 + expr: round((((node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes) * 100), 0.1) > 80 for: 5m labels: severity: warning annotations: - summary: "Memory over 90%" - description: "Memory on node {{ $labels.node }} is over 90% for more than 5 minutes. Plox fix. Memory usage: {{ $value }}%" + summary: "Memory over 80%" + description: "Memory on node {{ $labels.node }} is over 80% for more than 5 minutes. Plox fix. Memory usage: {{ $value }}%" - alert: DiskspaceLowWorker expr: round(node_filesystem_avail_bytes{mountpoint="/", node=~"worker.*"} / 1073742000, 0.1) < 25 for: 1m