DumbMonit

ИнтеграцииСерверы и машины

Мониторинг UPS with NUT в 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.

ДокументацияОфициальный сайт: Network UPS Tools

Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.

Что проверяет 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.

Типичное применение. UPS on a NAS, Raspberry Pi or server running Network UPS Tools

Примеры

  • Synology or QNAP NAS with a USB UPS
  • Raspberry Pi running NUT
  • TrueNAS UPS service

Как подключается

Что понадобится

  • 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.

Учётная запись не нужна.

Сетевые порты, которые нужно открыть

  • 3493/TCPupsd (default)
Шаги настройки: Let DumbMonit read the NUT server
  1. On a plain NUT install, add this line to upsd.conf and restart upsd.

    LISTEN 0.0.0.0 3493
  2. Open TCP port 3493 in the firewall for the DumbMonit host.

  3. 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.

  4. 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-password
  5. In DumbMonit, enter the NUT server's address (nas.lan): every UPS it publishes is watched.

Обратите внимание. DumbMonit watches the UPS; it shuts nothing down: the machines it powers still need their own NUT client (upsmon) to shut down cleanly.

Ещё в категории «Серверы и машины»