thermal: van-thermal daemon (CPU+NVMe monitor, alert, log)
Single sysfs sample loop drives three jobs off one daemon (modeled on van-failover): - live state at /run/van-thermal/state.json; new Cockpit "Temperatures" card reads it in the existing 5s loop (no per-refresh `sensors` shell-out) - journal alerts on ok<->warn<->crit crossings, with clear_margin hysteresis - throttled, self-rotating CSV history at /var/log/van-thermal.csv Sensors resolved by hwmon name+label (coretemp/Package id 0, nvme/Composite), never by hwmonN index (not stable across boots). Defaults: CPU warn 80 / crit 95, NVMe warn 65 / crit 70. deploy.sh installs + enables the service. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
35466f0141
commit
ef6c1ce182
@@ -23,6 +23,11 @@
|
||||
<div id="ap"></div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>Temperatures</h3>
|
||||
<div id="thermal"></div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>WAN Failover</h3>
|
||||
<div id="failover"></div>
|
||||
|
||||
Reference in New Issue
Block a user