diff --git a/apps/k8s01/iot/monitoring.yaml b/apps/k8s01/iot/monitoring.yaml index 49ba5e6e7246ffcf09401e1dfe89325d932cc402..cf7d0f9e4e3899346908f4e907c171d4f05da354 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