IntegracionesServidores y máquinas
Monitorizar UPS with NUT con DumbMonit
UPS served by Network UPS Tools: on battery, low or worn-out battery, charge, runtime left, load and input voltage, for every UPS the server publishes.
DocumentaciónSitio web oficial: Network UPS Tools
Las descripciones están en inglés, como en el producto. Las etiquetas de la página siguen su idioma.
Qué vigila DumbMonit
A UPS plugged into a NAS, a Raspberry Pi or a server over USB is usually watched by Network UPS Tools (NUT): its daemon, upsd, publishes what the UPS says on TCP port 3493. DumbMonit reads that server, like any NUT client: whether the UPS runs on mains or battery, whether the battery is low or worn out, the charge, the runtime left, the load, the input voltage and the age of the battery. One server often publishes several UPS; all of them are read in one connection, and every series carries the name of its UPS. For a UPS with its own network card, the SNMP device type reads the standard UPS-MIB instead.
Uso habitual. UPS on a NAS, Raspberry Pi or server running Network UPS Tools
Ejemplos
- Synology or QNAP NAS with a USB UPS
- Raspberry Pi running NUT
- TrueNAS UPS service
Cómo se conecta
Qué necesita
- upsd user name / passwordSent with USERNAME and PASSWORD before reading. upsd does not check them to read; set them only if your setup asks for them.
No hace falta ninguna cuenta.
Puertos de red que abrir
3493/TCPupsd (default)
Pasos de configuración: Let DumbMonit read the NUT server
On a plain NUT install, add this line to upsd.conf and restart upsd.
LISTEN 0.0.0.0 3493Open TCP port 3493 in the firewall for the DumbMonit host.
On a NAS, enable its network UPS server instead: Synology DSM → Control Panel → Hardware & Power → UPS, then add the DumbMonit host under Permitted DiskStation Devices.
Optional, to name this client: add a user without actions or instcmds to upsd.users, with a long random password, and restart upsd.
[dumbmonit] password = a-long-random-passwordIn DumbMonit, enter the NUT server's address (nas.lan): every UPS it publishes is watched.
Ojo. DumbMonit watches the UPS; it shuts nothing down: the machines it powers still need their own NUT client (upsmon) to shut down cleanly.