Where to start…
tl;dr:
This is wrong. My UPS cannot deliver 3x 54kW at any time of day.
Note: Numbers below do not reflect the ones in the image above.
Many Eaton UPSes use a network management card named ‘Network Card-MS’. This provides all the network management functions of the UPS. SNMP, https, ssh… the works. The card is old, underpowered and uses weak crypto. And, as of this year, it is End of Sales/End of Life. *
The card offers UPS data via three different MIBs:
upsMIB: .1.3.6.1.2.1.33
xupsMIB: .1.3.6.1.4.1.534.1
upsmg: .1.3.6.1.4.1.705.1
LibreNMS appears to poll the first and the last MIB for data. Only the last offers data from optional external sensors, so that makes sense. Kind of.
During polling, we get this:
SNMP[‘/usr/bin/snmpget’ ‘-v3’ ‘-l’ ‘authPriv’ ‘-n’ “” ‘-a’ ‘MD5’ ‘-A’ ‘PASSWORD’ ‘-u’ ‘USER’ ‘-x’ ‘DES’ ‘-X’ ‘PASSWORD’ ‘-OUQnte’ ‘-M’ ‘/opt/l
ibrenms/mibs:/opt/librenms/mibs/ups:/opt/librenms/mibs/mge’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.2.1.33.1.4.4.1.5.1’]
Checking (snmp) load Percentage load…
37 ← percentage load
SNMP[‘/usr/bin/snmpget’ ‘-v3’ ‘-l’ ‘authPriv’ ‘-n’ “” ‘-a’ ‘MD5’ ‘-A’ ‘PASSWORD’ ‘-u’ ‘USER’ ‘-x’ ‘DES’ ‘-X’ ‘PASSWORD’ ‘-OUQnte’ ‘-M’ ‘/opt/l
ibrenms/mibs:/opt/librenms/mibs/ups:/opt/librenms/mibs/mge’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.2.1.33.1.4.4.1.4.1’ ‘.1.3.6.1.2.1.33.1.3.3.1.5.1’ ‘.1.3.6.1
.2.1.33.1.5.3.1.4.1’ ‘.1.3.6.1.4.1.705.1.7.2.1.4.1’ ‘.1.3.6.1.4.1.705.1.7.2.1.4.2’ ‘.1.3.6.1.4.1.705.1.7.2.1.4.3’]
Checking (snmp) power Output…
Checking (snmp) power Input…
Checking (snmp) power Bypass…
Checking (snmp) power Output (VA) Phase 1…
Checking (snmp) power Output (VA) Phase 2…
Checking (snmp) power Output (VA) Phase 3…
840 ← in Watts
0
0
37000 ← eh. sort of
37000 <— but…
37000 <---- not three times.
The UPS is rated at 3000 VA and 3000 Watts.
The UPS reports 229V output at 5A. (On three ‘phases’. Bogus.)
And it also reports a load of 830 Watts.
830W / 3000W = 27.6% not right…
(5A * 229V) / 3000VA = 38.1 % this is at least in the ballpark
Bottom line:
LNMS erroneously reports a percentage(x1000) as Watts, and dutifully reports the same thing three times, as it is reported like that from the UPS. Also, the term ‘phase’ is confusing in this context, but that appears to be inherited from MGE. The UPS in question has three separately controlled outputs, but it is definitely a single phase device.
What is the best course of action from here?
For an snmpwalk of all three MIBs, see: http://dpaste.com/108V7T2
*)
Finally, as a public service to fellow IT-dudes and dudettes having to manage this piece of … engineering: If you cannot swap your Eaton ‘Network Card-MS’ for the new ‘Gigabit Network Card M2’, at least get the latest firmware for the ‘Network Card-MS’ (LD). It has some sorely needed fixes for SNMP.
If you go M2, upgrade to fw 1.7.5.