title: MikroTik UPS
agents: mikrotik
catalog: hw/network/mikrotik
license: GPL
distribution: check_mk
description:
 UPS connected to a MikroTik router via USB or serial ({/system/ups},
 needs the RouterOS package {ups.npk}, RouterOS 6 and 7). The agent reads
 the UPS list and runs {/system/ups/monitor once} for each UPS that is not
 disabled.

 Reported: power source ({CRIT} on battery by default), battery low
 ({CRIT}), battery needs replacement and output overloaded ({WARN}),
 battery charge (lower levels 50%/25%), remaining runtime (lower levels
 10/5 min), output load (upper levels 80%/90%), optionally temperature,
 and input, output and battery voltage and frequency as metrics. Without
 monitor data (UPS not connected or not supported) the service is {CRIT}.
 Values the UPS does not report are left out. All levels and states via
 the rule {MikroTik UPS}.

 To connect to the MikroTik device a special datasource program is
 used: {MikroTik RouterOS} in Setup > Agents > Other integrations,
 module "UPS". The module is opt-in, "all" does not include it.

item:
 The name of the UPS.

perfdata:
 Battery charge, runtime left, output load, temperature, voltages and
 frequency, as far as the UPS reports them.

inventory:
 One service per UPS that is not disabled. Model, serial and firmware of
 the UPS appear in the HW/SW inventory as a power supply.
