Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
72b1a94b
Verified
Commit
72b1a94b
authored
1 year ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
fix(iot): Adjust monitoring tempratures to reality
parent
9269a1e1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/k8s01/iot/monitoring.yaml
+7
-7
7 additions, 7 deletions
apps/k8s01/iot/monitoring.yaml
with
7 additions
and
7 deletions
apps/k8s01/iot/monitoring.yaml
+
7
−
7
View file @
72b1a94b
...
@@ -39,18 +39,18 @@ spec:
...
@@ -39,18 +39,18 @@ spec:
severity
:
critical
severity
:
critical
-
alert
:
TempratureHighWarning
-
alert
:
TempratureHighWarning
annotations
:
annotations
:
description
:
The temprature of a room/sensor has exceeded 2
5
°C over the past 6 hours.
description
:
The temprature of a room/sensor has exceeded 2
8
°C over the past 6 hours.
summary
:
The temprature of a room/sensor has exceeded 2
5
°C over the past 6 hours.
summary
:
The temprature of a room/sensor has exceeded 2
8
°C over the past 6 hours.
expr
:
avg_over_time(shellyht_temperature_celsius[10m]) >
2
5
expr
:
avg_over_time(shellyht_temperature_celsius[10m]) >
2
8
for
:
6h
for
:
6h
labels
:
labels
:
issue
:
Temprature in {{$labels.name}} is high. Open a window!
issue
:
Temprature in {{$labels.name}} is high. Open a window!
severity
:
warning
severity
:
warning
-
alert
:
TempratureHighCritical
-
alert
:
TempratureHighCritical
annotations
:
annotations
:
description
:
The temprature of a room/sensor has exceeded
28
°C over the past 30 minutes.
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
28
°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]) >
28
expr
:
avg_over_time(shellyht_temperature_celsius[1m]) >
30
for
:
30m
for
:
30m
labels
:
labels
:
issue
:
Temprature in {{$labels.name}} is too high. Open a window!
issue
:
Temprature in {{$labels.name}} is too high. Open a window!
...
@@ -72,4 +72,4 @@ spec:
...
@@ -72,4 +72,4 @@ spec:
for
:
30m
for
:
30m
labels
:
labels
:
issue
:
Temprature in {{$labels.name}} is too low. Turn up the heating!
issue
:
Temprature in {{$labels.name}} is too low. Turn up the heating!
severity
:
critical
severity
:
critical
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment