IntegraçõesServidores e máquinas
Monitorar UPS with NUT com o 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.
DocumentaçãoSite oficial: Network UPS Tools
As descrições estão em inglês, como no produto. Os rótulos da página seguem o seu idioma.
O que o DumbMonit vigia
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 típico. UPS on a NAS, Raspberry Pi or server running Network UPS Tools
Exemplos
- Synology or QNAP NAS with a USB UPS
- Raspberry Pi running NUT
- TrueNAS UPS service
Como se conecta
O que você precisa
- 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.
Não é preciso nenhuma conta.
Portas de rede a abrir
3493/TCPupsd (default)
Etapas de configuração: 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.
Atenção. DumbMonit watches the UPS; it shuts nothing down: the machines it powers still need their own NUT client (upsmon) to shut down cleanly.