A UPS in the map: read over NUT or SNMP, alerts, shutdown order

New UPS integration (NUT or SNMP v2c, read only). Monitoring -> UPS shows charge,
runtime, load and mains voltage with history and the times mains power was lost.
Mains lost and a nearly empty battery are critical alerts; battery to be replaced
and a heavy load are warnings. The UPS is a node in the dependency map and counts
as down while on battery, so servers that go offline with it are folded under its
alert; the page lists what is on it in the order to shut it down. /metrics series
and docs added.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-21 21:47:31 +02:00
1 parent 3cb3e4988f
commit 232a5661ab
38 files changed
+8049 -16

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ import NetworkDevices from "./pages/NetworkDevices";
import ProxyHosts from "./pages/ProxyHosts";
import AlertRules from "./pages/AlertRules";
import HomeAssistant from "./pages/HomeAssistant";
import Ups from "./pages/Ups";
import MyWorkPage from "./pages/MyWork";
import ApiTokens from "./pages/ApiTokens";
import Todo from "./pages/Todo";
@@ -154,6 +155,7 @@ function Shelled({ user }: { user: CurrentUser }) {
<Route path="/proxy-hosts" element={<ProxyHosts user={user} />} />
<Route path="/alert-rules" element={<AlertRules user={user} />} />
<Route path="/home-assistant" element={<HomeAssistant user={user} />} />
<Route path="/ups" element={<Ups user={user} />} />
<Route path="/ports" element={<Ports user={user} />} />
<Route path="/secrets" element={<Secrets user={user} />} />
<Route path="/integrations" element={<Integrations user={user} />} />