[ungleich-ups] add nut_exporter to demo daemonset for

This commit is contained in:
Nico Schottelius 2026-09-16 09:15:44 +02:00
commit 24f7a3b1cd
3 changed files with 14 additions and 1 deletions

View file

@ -3,6 +3,14 @@
- UID of nut seems to be dynamic, might even be different on
different hosts
- yes, GID differs on outside hosts.
* Prometheus exporters
- ghcr.io/druggeri/nut_exporter:3.3.0
- port 9199
- last update 4 months ago
- focus on this one first
- hon95/prometheus-nut-exporter:1
- port 9995
- last image 4 years ago
* 0.1.2, 2026-09-10
- Remove openrc, start nut directly (openrc does not exist by
default anyway)

View file

@ -32,6 +32,11 @@ spec:
mountPath: /dev/bus/usb
- name: dev
mountPath: /dev
- name: nut-exporter
image: ghcr.io/druggeri/nut_exporter:3.3.0
ports:
- name: http
containerPort: 9199
volumes:
- name: usb-devices
hostPath:

View file

@ -2,7 +2,7 @@
# 2026-09-10, Nico Schottelius, Risch/Rotkreuz
# scan for ups & log to stdout
nut-scanner -U 2>/dev/null | tee /etc/nut/ups.conf
nut-scanner -UUU 2>/dev/null | tee /etc/nut/ups.conf
/usr/sbin/upsdrvctl start