247-IT Guide
Monitoring Socomec, Vertiv/Liebert and Huawei UPS units via SNMP
Socomec NetVision, the IntelliSlot cards from Vertiv/Liebert and the SNMP cards of the Huawei UPS2000 and UPS5000 report their values in vendor-specific MIB trees, in part without RFC 1628 at all. What to set on the card, which values the UPS Hyper-V Shutdown Monitor reads from it, where decivolts, tenths of minutes and missing low-battery flags trip you up, and how to verify the setup.
Why these three vendors need their own MIB trees
The UPS-MIB of RFC 1628 is the common denominator of UPS monitoring. The cards from Socomec, Vertiv and Huawei, however, serve it either not at all or only on request. A Vertiv IntelliSlot card answers RFC 1628 only when the option “RFC-1628 MIB” is set; without it, a tool without the Liebert MIB considers the UPS unreachable. Socomec NetVision stores everything under enterprise 4555, with a battery status encoding that neither matches RFC 1628 nor stays the same between the two firmware generations. Huawei reports voltage, load and temperature in tenths under 2011.6.174 and the phases in columns instead of rows.
The UPS Hyper-V Shutdown Monitor reads these three trees natively, without a profile and without an agent on the Hyper-V hosts. The overview of all vendors is in the guide Monitoring UPS units from multiple vendors; this article is about the details.
- Socomec NetVision — since version 1.7.8 with status, charge, runtime, input voltage and load. Version 1.10.0 fixed the false shutdown on “low battery” while on mains and added model, serial number and bypass; 1.12.7 added the additional readings and phases, 1.13.0 the alarm table.
- Vertiv/Liebert and Huawei — since version 1.11.0, in all editions. Both trees are queried only when the card's
sysObjectIDpoints to the vendor; other devices cost no extra round trip. - Three-phase — since version 1.12.7, per-phase values L1 to L3 for Socomec and Huawei, for Vertiv through the RFC 1628 tables. Details in the guide Monitoring a three-phase UPS.
Preparing the network card
The menus differ from card to card, the steps do not: a fixed IP address in the management network, the SNMP agent enabled on UDP 161, read access for the monitoring machine. For SNMPv2c that means a dedicated read community instead of “public”; for SNMPv3 a user with authPriv, SHA for authentication and AES for encryption, as strong as the firmware offers. Restrict access to the address of the monitoring machine and install the current firmware first. The details are in the guide SNMPv3 on a UPS network card.
Two vendor-specific points: on Vertiv cards the option “RFC-1628 MIB” decides
whether the standard tree is served as well; the software copes with both, but sees more with
the option enabled (section 04). Huawei cards often report the generic net-snmp
agent (1.3.6.1.4.1.8072.3.2.10) as their sysObjectID; the software
queries the Huawei tree anyway.
In the app, the “UPS Settings” tab needs IP address, port 161, protocol and credentials, then “Test Connection”. If the card answers, status, manufacturer and model appear.
Socomec NetVision 5 and 7
The NetVision card sits in Netys, Modulys, Masterys and Digys units. Depending on the firmware,
the UPS tree is under 1.3.6.1.4.1.4555.1.1.1.1 (“NetVision 5”) or under
1.3.6.1.4.1.4555.1.1.7.1 (“NetVision 7”). The software queries both; the tree that
answers determines how the battery status is interpreted, because the same number means
something different in each generation: on NetVision 7, 6 means “low”, on NetVision 5 it is 3.
- “Low battery” on mains —
upsBatteryStatusreports “low”, “depleted” or “failure” even with mains present, for example while recharging after an outage. The deciding factor is therefore the alarmupsAlarmOnBattery(NetVision 7.6.3.15.0, NetVision 5.6.3.2.0): 0 means online, 1 means on battery. “failure” additionally raises the replace-battery warning. - Units — runtime in minutes, -1 means “no estimate” and stays empty. Input voltage in decivolts (2300 for 230.0 V), battery temperature in tenths of a degree; on NetVision 5 the temperature has returned a value since version 1.12.7.
- Bypass — from
upsOutputSource: NetVision 7 with 2 (maintenance bypass) and 6 (bypass), NetVision 5 with 5 (bypass) and 7 (maintenance bypass), even if the card simultaneously reports “normal” via RFC 1628. - Alarm table — a
upsAlarmTablelike RFC 1628, but with its own alarm types: 62 on NetVision 7, 87 on NetVision 5. “Low battery” and “battery depleted” raise battery operation to LOW BATTERY; “shutdown pending”, “shutdown imminent” and “Imminent stop” trigger the shutdown, with the usual repeated confirmation. Without active alarms the table costs only one count query. - Additional readings — battery voltage, input and output frequency, output voltage and current in tenths; on NetVision 7 also temperature and humidity of the EMD environmental sensor, where 0 counts as not connected.
- Phases — phase count from
upsInputNumLinesandupsOutputNumLinesin the Socomec tree, rows 2 and 3 with voltage in decivolts, current in 0.1 A and load in percent. The MIB has no active power per phase.
Vertiv/Liebert with an IntelliSlot card
The IntelliSlot cards (Unity and RDU; the reference was an SNMP walk of a Liebert GXT5 with
RDU101) deliver their values through the LIEBERT-GP-FLEXIBLE-MIB in the table
lgpFlexibleExtendedTable under 1.3.6.1.4.1.476.1.42.3.9.30.1. Each
reading has an identifier there, such as 4872 for the power source and 4150 for the runtime; the
numeric value is in column 20, the number of decimal places in column 30. The software reads
both and converts. The Liebert batch runs only when the sysObjectID is in branch 476.
- Runtime in tenths of minutes — the GXT5 reports 395 with one decimal place, i.e. 39.5 minutes. The NUT driver
vertiv-mib.creads whole minutes and would be off by a factor of 10. If the decimals column is missing, UPSmonitor deliberately reports no runtime rather than a wrong one. - Status like RFC 1628 — the power source uses the same values as
upsOutputSource: 3 normal, 5 battery, 4 bypass (online with bypass flag), 6 booster, 7 reducer. - No low-battery flag via GET — the Liebert alarms sit in a table that cannot be queried directly. Without RFC 1628, the thresholds for charge and runtime alone decide (section 07).
- With the RFC 1628 MIB enabled — the standard evaluation takes precedence; the Liebert tree then contributes only the real serial number instead of the SNMP hostname. Alarm table, battery voltage, frequencies, output current and the phases of a three-phase Liebert are read exclusively via RFC 1628.
Huawei UPS2000 and UPS5000
The HUAWEI-UPS-MIB under 1.3.6.1.4.1.2011.6.174 has device, input, output and
battery tables with a device index at the end of each OID; index 1 is read, so on parallel
systems the first UPS. The status comes from two objects: the supply method
hwUpsDevicePowerSupplyMethod (3 and 6 mains, 4 and 7 battery, 2 bypass, 5 combined)
and the battery state (4 float charge, 5 equalizing charge, 6 discharging). In combined mode and
without a supply method the battery state decides; discharging counts as battery operation.
- Tenths everywhere — input voltage in 0.1 V, load in 0.1%, battery temperature in 0.1 °C; without dividing by ten, the dashboard would show 450% load. Charge comes in whole percent, the runtime directly in seconds.
- No low-battery flag — the MIB has neither a GET-readable “low battery” nor an alarm table; the shutdown depends entirely on the thresholds. Battery state 1 appears as the alarm “Battery not connected”, so that a missing battery does not go unnoticed until the outage.
- Phases A/B/C — fixed columns in
hwUpsInputTableandhwUpsOutputTable: voltage 0.1 V, current 0.1 A, load 0.1%, active power assumed 0.1 kW. The phase count comes fromhwUpsCtrlInputStandard(1 single-phase, 2 three-phase; marked obsolete in the MIB). If there is no answer, the software reads all three columns and counts the populated ones.
What the software reads per vendor
For Vertiv, the brackets show what is added only with the RFC 1628 MIB enabled. In every case only what the device actually reports is displayed.
| Reading | Socomec NetVision 5 / 7 | Vertiv/Liebert | Huawei UPS2000/5000 |
|---|---|---|---|
| Mains / battery operation | yes, upsBatteryStatus plus upsAlarmOnBattery | yes, power source 4872 | yes, supply method plus battery state |
| LOW BATTERY from the UPS | yes, status and alarm table | no (yes via RFC 1628) | no, thresholds only |
| Charge in % | yes | yes | yes |
| Runtime | yes, minutes | yes, tenths of minutes with decimals column | yes, seconds |
| Input voltage | yes, decivolts | yes | yes, phase A in 0.1 V |
| Load in % | yes | yes | yes, phase A in 0.1% |
| Bypass | yes, upsOutputSource | yes, power source 4 | yes, supply method 2 |
| Model, serial number | yes | yes, plus manufacturer | yes, model and ESN |
| Alarm table | yes, 62 or 87 alarm types | no (yes via RFC 1628) | no; alarm “Battery not connected” from the battery state |
| Replace-battery warning | yes, on “failure” | no | no |
| Temperature (Pro) | battery, tenths of a degree | inlet air | battery, tenths of a degree |
| Battery voltage, frequencies, output voltage and current (Pro) | yes, tenths | no (yes via RFC 1628) | only output voltage and current per phase |
| Environmental sensor (Pro) | NetVision 7, EMD | no | no |
| Phases L1 to L3 (Pro) | yes, voltage, current, load | no (yes via RFC 1628) | yes, voltage, current, power, load |
Setting thresholds without a low-battery flag
The shutdown logic is the same for every vendor: the UPS reports battery operation, and in addition one of three conditions is met: charge at or below the charge threshold (default 20%), runtime at or below the runtime threshold (default 300 seconds), or the UPS itself reports LOW BATTERY. Only after the configured number of consecutive hits (default three polls 30 seconds apart) does the shutdown start. For Huawei, and for Vertiv without RFC 1628, the third condition is missing.
- Derive the runtime threshold from the time needed — the sum of VM and host shutdown plus a reserve for an aged battery, not the datasheet value. How to measure it is in the guide Calculating UPS runtime.
- Charge threshold as a second safeguard — the runtime is an estimate by the UPS and collapses faster than shown on old batteries under load. 30 to 40% catches that.
- Vertiv without runtime — if the decimals column is missing, only the charge threshold applies. Set it higher, or enable the RFC 1628 MIB on the card.
- Keep an eye on battery health — a replace-battery warning from the vendor tree exists only for Socomec. For Vertiv and Huawei, only a falling runtime at the same load reveals an ageing battery; see Replacing UPS batteries.
Checking after setup
Compare status, charge, runtime, input voltage and load in the dashboard with the card's web interface. If a value is off by a factor of 10 or 60, a unit is misinterpreted; if it is completely different, the software reads a different object than the card displays. Then run the shutdown in test mode: the software logs every step for all hosts but executes no real commands.
For troubleshooting, an SNMP walk of the vendor tree with the Net-SNMP tools helps:
# Socomec NetVision (both tree generations are under 4555)
snmpwalk -v2c -c <community> <card-ip> 1.3.6.1.4.1.4555
# Vertiv/Liebert (flexible table and device list)
snmpwalk -v2c -c <community> <card-ip> 1.3.6.1.4.1.476
# Huawei UPS2000/UPS5000
snmpwalk -v2c -c <community> <card-ip> 1.3.6.1.4.1.2011.6.174
# Vendor identifier and description of the agent
snmpget -v2c -c <community> <card-ip> 1.3.6.1.2.1.1.2.0 1.3.6.1.2.1.1.1.0
If a firmware answers with different OIDs or factors than described here, the mapping can be
stored as a custom OID profile without a new release: a JSON file under
%ProgramData%\UPSHyperVShutdown\custom-oid-profiles\ with OID, scaling and status
mapping per field, selectable per UPS. The format is described in
docs\custom-oid-profile-format.md in the installation folder (in German).
What remains open without a test unit
The implementation is based on the public MIB files (SOCOMECUPS-MIB, LIEBERT-GP-FLEXIBLE-MIB,
HUAWEI-UPS-MIB), the NUT drivers netvision-mib.c, vertiv-mib.c and
huawei-mib.c, the Centreon plugins for Socomec and real SNMP walks from the LibreNMS
test collection, including a Liebert GXT5 with RDU101. They are replayed through a fake SNMP
agent: 44 test cases for Vertiv and Huawei, 16 for the Socomec alarm table, 34 for three-phase.
A unit of every model was not on the bench.
- Socomec NetVision 5, battery temperature — the MIB gives no unit; tenths of a degree are assumed, as on NetVision 7.
- Huawei, active power per phase — the MIB gives kW with a range of ±12000; 0.1 kW is assumed. If your unit shows ten times or a tenth of the power, that is the reason.
- Vertiv, alarms — the Liebert alarm table is not readable via GET; “low battery” and the replace-battery warning come only via RFC 1628.
- Other models and firmwares — identifiers, columns and units may differ. In that case send us the SNMP walk from section 08 by email via the contact page; until a fix, a custom OID profile helps.
Checklist for Socomec, Vertiv and Huawei
- Card secured — firmware current, SNMPv3 with SHA and AES or at least a dedicated community, access restricted to the monitoring machine.
- Vendor detected — the dashboard shows manufacturer, model and serial number from the vendor tree, not just the
sysDescr. - Units checked — voltage, load, runtime and temperature match the card's web interface, no factor of 10 or 60.
- Battery operation checked — briefly unplug the UPS during a maintenance window: the status switches to battery operation, on Socomec without a false alarm during the subsequent recharge.
- Thresholds set — charge and runtime derived from the measured time needed, with a reserve for Huawei and for Vertiv without RFC 1628.
- Test mode run — the log shows all hosts in the right order, without anything having been shut down.
Frequently asked questions
Why does the dashboard show no runtime for my Vertiv UPS?
The Liebert MIB reports the runtime as an integer plus a second column with the number of decimal places; a GXT5 reports 395 with one decimal for 39.5 minutes. If the card does not answer the second column, UPSmonitor deliberately leaves the runtime empty instead of showing a value ten times too high. Shutdown then relies on the charge threshold; with the RFC 1628 MIB enabled on the card, the runtime comes from the standard MIB.
My Socomec reports “low battery” although mains power is present. Will the software shut down?
No, provided the card answers the upsAlarmOnBattery alarm. The Socomec battery status reports “low”, “depleted” or “failure” even on mains, for example while recharging after an outage. Since version 1.10.0 the software also reads upsAlarmOnBattery: at 0 the UPS counts as online; “failure” raises the replace-battery warning. If the alarm OID is missing, the cautious interpretation as low battery remains.
How does the software detect battery operation on a Huawei UPS when there is no low-battery flag?
Through the supply method hwUpsDevicePowerSupplyMethod: 3 and 6 mean mains, 4 and 7 battery operation, 2 bypass. In combined mode 5 the battery state decides; at 6 (discharging) the UPS counts as on battery. Whether to shut down is then decided by the thresholds for charge and runtime, which Huawei reports in percent and seconds. Set both deliberately, because no LOW BATTERY signal steps in.
Do I have to enable the RFC 1628 MIB on the Vertiv card?
No. Since version 1.11.0 the software reads power source, charge, runtime, input voltage, load, temperature, model and serial number from the Liebert MIB as soon as the card's sysObjectID points to Vertiv. With the RFC 1628 MIB enabled, that evaluation takes precedence and the alarm table, the additional readings and, on three-phase units, the phase values are added.
More guides
Monitoring UPS units from multiple vendors
One tool instead of several silos.
SNMPv3 on a UPS network card
authPriv with SHA and AES instead of a plain-text community.
Monitoring a three-phase UPS
Reading phase values L1 to L3 correctly.
Calculating UPS runtime
Why the datasheet runtime rarely holds.
Replacing UPS batteries
Warning signs, self-test and planning without a protection gap.
UPS monitoring without shutdown
Monitor and alert without shutting anything down.
NUT on Windows
Query a UPS via Network UPS Tools from a NAS or Linux server.
Eaton IPM alternative for Hyper-V
Node licensing, editions and Hyper-V integration compared.
CyberPower and Riello with Hyper-V
PowerPanel and PowerShield³ compared with the vendor software.
Shutting down Hyper-V VMs in a power outage
Stop action, shutdown order and time budget for an orderly shutdown.
UPS alerts via Microsoft 365 and Teams
Graph instead of SMTP AUTH, Workflows instead of connectors.
PowerChute alternative for Hyper-V
UPS shutdown without vendor lock-in.
Socomec, Vertiv and Huawei without the vendor software
30 days free, every feature included. Six vendor trees natively, RFC 1628 and NUT as fallback, orderly shutdown of the Hyper-V hosts after repeated confirmation.