From 7082deaf86bf4346dd57ba4516dbef50bf795b66 Mon Sep 17 00:00:00 2001 From: teddy Date: Wed, 10 Jun 2026 00:02:59 +0200 Subject: [PATCH] =?UTF-8?q?monitoring:=20add=20separate=20all-sensors=20te?= =?UTF-8?q?mp=20panel=20with=2070=C2=B0C=20warning=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- monitoring/grafana-temps-dashboard.yaml | 30 ++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/monitoring/grafana-temps-dashboard.yaml b/monitoring/grafana-temps-dashboard.yaml index 8d09c54..1dc231d 100644 --- a/monitoring/grafana-temps-dashboard.yaml +++ b/monitoring/grafana-temps-dashboard.yaml @@ -73,6 +73,34 @@ data: "expr": "max by (instance) (node_hwmon_temp_celsius)", "legendFormat": "{{instance}}", "refId": "A"} ] + }, + { + "datasource": {"type": "prometheus", "uid": "${datasource}"}, + "fieldConfig": { + "defaults": { + "color": {"mode": "palette-classic"}, + "unit": "celsius", + "custom": {"drawStyle": "line", "lineWidth": 1, "fillOpacity": 5, "showPoints": "never", "thresholdsStyle": {"mode": "line"}}, + "thresholds": {"mode": "absolute", "steps": [ + {"color": "green", "value": null}, + {"color": "red", "value": 70} + ]} + }, + "overrides": [] + }, + "gridPos": {"h": 8, "w": 24, "x": 0, "y": 8}, + "id": 3, + "options": { + "legend": {"displayMode": "table", "placement": "bottom", "calcs": ["last", "max"]}, + "tooltip": {"mode": "multi"} + }, + "title": "All temperature sensors (warning line @ 70°C)", + "type": "timeseries", + "targets": [ + {"datasource": {"type": "prometheus", "uid": "${datasource}"}, + "expr": "node_hwmon_temp_celsius", + "legendFormat": "{{instance}} / {{chip}} / {{sensor}}", "refId": "A"} + ] } ], "refresh": "30s", @@ -87,5 +115,5 @@ data: "timezone": "Europe/Oslo", "title": "Hardware Temperatures", "uid": "hw-temps", - "version": 2 + "version": 3 }