この記事を書いた理由
シンガポールでは一年を通じて、最低気温 25℃、最高気温 32℃ くらい。
最高気温が 32℃ を超える日が続くと、「シンガポールよりも暑いのか 😵💫」と毎回思う。
そしてこの暑さの中、ルーターもかなり熱くなっている。
最近 2 回続けて Beszel をお勧めする記事を見かけたので、Beszel で OpenWrt 機器のモニタリングをしてみた。 🧐
どの程度まで熱くなるか
70℃ 近くまで熱くなっている。💀
おまけ
Beszel Hub のインストール方法
compose.yaml
services:
beszel:
image: henrygd/beszel
container_name: beszel
restart: unless-stopped
ports:
- 8090:8090
volumes:
- ./beszel_data:/beszel_data
OpenWrt での Beszel Agent のインストール方法
v0.12.8 で、インストールスクリプト install-agent.sh
の OpenWrt に関する部分がかなり改善されたため、今ではとても簡単にインストールできます。
wget -qO /tmp/install-beszel-agent.sh https://get.beszel.dev
chmod +x /tmp/install-beszel-agent.sh
/tmp/install-beszel-agent.sh --auto-update
個々の OpenWrt の web インターフェース上で温度を表示させたい場合
# opkgの場合
wget --no-check-certificate \
-O /tmp/luci-app-temp-status_0.7.1-r2_all.ipk \
https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-temp-status_0.7.1-r2_all.ipk
opkg install /tmp/luci-app-temp-status_0.7.1-r2_all.ipk
rm /tmp/luci-app-temp-status_0.7.1-r2_all.ipk
service rpcd restart
# apkの場合
wget --no-check-certificate \
-O /tmp/luci-app-temp-status-0.7.1-r2.apk \
https://github.com/gSpotx2f/packages-openwrt/raw/master/snapshot/luci-app-temp-status-0.7.1-r2.apk
apk add --allow-untrusted /tmp/luci-app-temp-status-0.7.1-r2.apk
rm /tmp/luci-app-temp-status-0.7.1-r2.apk
service rpcd restart