Skip to content

Commit

Permalink
[prometheus-smartctl-exporter] add rule for device temperature (#4572)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Way <[email protected]>
  • Loading branch information
uhthomas authored May 29, 2024
1 parent b6adaa1 commit fce686e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-smartctl-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.8.0
version: 0.9.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
7 changes: 7 additions & 0 deletions charts/prometheus-smartctl-exporter/rules/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ rules:
for: 1m
labels:
severity: warning
- alert: SmartCTLDDeviceTemperature
expr: smartctl_device_temperature{temperature_type="current"} > 60
annotations:
message: Device {{ $labels.device }} on instance {{ $labels.instance }} has temperature higher than 60°C
for: 1m
labels:
severity: warning

0 comments on commit fce686e

Please sign in to comment.