Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "smartmon_temperature_case_raw_value{instance=~\"$node\"}",
"expr": "smartmon_temperature_case_raw_value{instance=~\"$node\"} or smartmon_temperature_celsius_raw_value{instance=~\"$node\"}",
"format": "table",
"hide": false,
"instant": true,
Expand Down Expand Up @@ -664,7 +664,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "avg_over_time(smartmon_temperature_case_raw_value{instance=~\"$node\"}[1h])",
"expr": "avg_over_time(smartmon_temperature_case_raw_value{instance=~\"$node\"}[1h]) or avg_over_time(smartmon_temperature_celsius_raw_value{instance=~\"$node\"}[1h])",
"instant": false,
"interval": "",
"legendFormat": "{{instance}} - {{disk}} - {{serial_number}}",
Expand Down Expand Up @@ -752,4 +752,4 @@
"version": 5,
"weekStart": ""
}
{% endraw %}
{% endraw %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
Fixes the hardware overview dashboard to use the correct metric for
displaying drive temps. Now uses an `or` to display whichever metric
is compatible with the drives in the system. The two metrics are
temperature_case_raw_value and temperature_celsius_raw_value.