From 72b1a94bb3d8d35205a8486441ce0aa4f2beb19a Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 16 Jul 2023 19:31:11 +0200
Subject: [PATCH] fix(iot): Adjust monitoring tempratures to reality

---
 apps/k8s01/iot/monitoring.yaml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/apps/k8s01/iot/monitoring.yaml b/apps/k8s01/iot/monitoring.yaml
index 49ba5e6e7..cf7d0f9e4 100644
--- a/apps/k8s01/iot/monitoring.yaml
+++ b/apps/k8s01/iot/monitoring.yaml
@@ -39,18 +39,18 @@ spec:
         severity: critical
     - alert: TempratureHighWarning
       annotations:
-        description: The temprature of a room/sensor has exceeded 25°C over the past 6 hours.
-        summary: The temprature of a room/sensor has exceeded 25°C over the past 6 hours.
-      expr: avg_over_time(shellyht_temperature_celsius[10m]) > 25
+        description: The temprature of a room/sensor has exceeded 28°C over the past 6 hours.
+        summary: The temprature of a room/sensor has exceeded 28°C over the past 6 hours.
+      expr: avg_over_time(shellyht_temperature_celsius[10m]) > 28
       for: 6h
       labels:
         issue: Temprature in {{$labels.name}} is high. Open a window!
         severity: warning
     - alert: TempratureHighCritical
       annotations:
-        description: The temprature of a room/sensor has exceeded 28°C over the past 30 minutes.
-        summary: The temprature of a room/sensor has exceeded 28°C over the past 30 minutes.
-      expr: avg_over_time(shellyht_temperature_celsius[1m]) > 28
+        description: The temprature of a room/sensor has exceeded 30°C over the past 30 minutes.
+        summary: The temprature of a room/sensor has exceeded 30°C over the past 30 minutes.
+      expr: avg_over_time(shellyht_temperature_celsius[1m]) > 30
       for: 30m
       labels:
         issue: Temprature in {{$labels.name}} is too high. Open a window!
@@ -72,4 +72,4 @@ spec:
       for: 30m
       labels:
         issue: Temprature in {{$labels.name}} is too low. Turn up the heating!
-        severity: critical
\ No newline at end of file
+        severity: critical
-- 
GitLab