Network UPS Tools (NUT) Exporter
The helm-release acts as a translation layer between the NUT server (on OPNSense) and prometheus. An AdditionalScrapeConfig job is configured to watch this exporter and track metrics.
See ansible role in
homelab-ansiblefornut-clientconfiguration on k3s nodes, which handles node configuration and shutdown
Network UPS Tools integration
Refs:
- Configure NUT for OPNsense and TrueNAS with the CyberPower PR750ERT2U UPS
- OPNSense, UPS, Nut, USBHID-Driver
Ensure NUT configured on OPNsense (acting as NUT server)
From both OPNsense (server) and client nodes, test with:
upsc <UPS_NAME>@<OPNSENSE_IP>:3493Test that it actually shuts devices down:
# from server (OPNsense) upsmon -c fsd