SuperioOne / nut_webgui

Web interface for Network UPS Tools
Apache License 2.0
27 stars 1 forks source link
management network-ups-tools nut self-hosted ups

NUT Web GUI

Light weight web interface for Network UPS Tools.

![DetailImage](docs/images/details.webp) ![ListImage](docs/images/home.webp)

Quickstart

docker run -e UPSD_ADDR=10.0.0.1 -e UPSD_USER=test -e UPSD_PASS=strongpass -p 9000:9000 ghcr.io/superioone/nut_webgui:latest

Features

In order to run INSTCMD, make sure the configured user has proper instcmds granted at upsd.users. See man(upsd.users).

Examples

CPU architecture support

Arch Test Hardware Notes
amd64 AM4 CPU Works across all amd64 platforms.
amd64-v3 AM4 CPU Snake oil level optimizations with AVX. It mostly reduces response compression overhead.
amd64-v4 Intel® SDE Snake oil level optimizations with AVX-512.
arm64 Raspberry Pi 4 Model B
armv7 Qemu emulation
armv6 Qemu emulation
riscv64 Qemu emulation

amd64 v3 and v4 variants require certain CPU feature flags to run. If you are a crackhead min-max enjoyer (like me), you can use nut_webgui:latest-amd64-v3 and nut_webgui:latest-amd64-v4 images. See x86-64 Microarchitecture levels for more details.

Command-Line arguments

Container image environment variables

JSON data API

A simple JSON-based API is available for integration and automation purposes.

OpenAPI 3.1.0 specification files: json minimized | yaml

Probes

nut_webgui has basic probe endpoints to check server health and readiness:

Building from source and debugging

See Building and Debugging.