From 6ee12c327075bd714a1fc08e7123641cf449c303 Mon Sep 17 00:00:00 2001 From: teddy Date: Tue, 9 Jun 2026 23:59:34 +0200 Subject: [PATCH] =?UTF-8?q?monitoring:=20temp=20dashboard=20shows=20max=20?= =?UTF-8?q?temp=20per=20host=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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/monitoring/grafana-temps-dashboard.yaml b/monitoring/grafana-temps-dashboard.yaml index 3e191c2..8d09c54 100644 --- a/monitoring/grafana-temps-dashboard.yaml +++ b/monitoring/grafana-temps-dashboard.yaml @@ -52,10 +52,10 @@ data: "defaults": { "color": {"mode": "palette-classic"}, "unit": "celsius", - "custom": {"drawStyle": "line", "lineWidth": 1, "fillOpacity": 10, "showPoints": "never"}, + "custom": {"drawStyle": "line", "lineWidth": 2, "fillOpacity": 10, "showPoints": "never", "thresholdsStyle": {"mode": "line"}}, "thresholds": {"mode": "absolute", "steps": [ {"color": "green", "value": null}, - {"color": "red", "value": 85} + {"color": "red", "value": 70} ]} }, "overrides": [] @@ -66,12 +66,12 @@ data: "legend": {"displayMode": "table", "placement": "bottom", "calcs": ["last", "max"]}, "tooltip": {"mode": "multi"} }, - "title": "All temperature sensors", + "title": "Highest temperature per host (warning line @ 70°C)", "type": "timeseries", "targets": [ {"datasource": {"type": "prometheus", "uid": "${datasource}"}, - "expr": "node_hwmon_temp_celsius", - "legendFormat": "{{instance}} / {{chip}} / {{sensor}}", "refId": "A"} + "expr": "max by (instance) (node_hwmon_temp_celsius)", + "legendFormat": "{{instance}}", "refId": "A"} ] } ], @@ -87,5 +87,5 @@ data: "timezone": "Europe/Oslo", "title": "Hardware Temperatures", "uid": "hw-temps", - "version": 1 + "version": 2 }