[Nut-upsuser] Powerware 9155 with SNMP card

Bernd Markgraf Bernd.Markgraf at med.ovgu.de
Fri Aug 10 11:08:35 UTC 2007


Hi again,

A little further investigation:

su_ups_get: output.voltage 1.3.6.1.4.1.534.1.4.4.1.2.0
SNMP UPS driver : entering su_setinfo(output.voltage)
=> value: 229.0

According to the XUPS mib the OID of xupsOutputVoltage should be
1.3.6.1.4.1.534.1.4.4.1.2 the driver correctly add .0 for the first (and
in my case only output phase)


su_ups_get: output.current 1.3.6.1.4.1.534.1.4.4.1.3
[ups2] nut_snmp_get: 1.3.6.1.4.1.534.1.4.4.1.3: Error in packet:
(noSuchName) There is no such variable name in this MIB.
=> Failed

The OID is right according to the XUPS mib, BUT the driver should add .0
(as for the outputVoltage) to grab the value for the according phase.

If I change the OID to 1.3.6.1.4.1.534.1.4.4.1.3.0 in pwmib.h I get
indeed a value for the output current.

so 
        { "output.current", 0, 0.1, PW_OID_OUT_CURRENT, "",
                SU_OUTPUT_1, NULL },
should rather be 
        { "output.current", 0, 0.1, PW_OID_OUT_CURRENT ".0", "",
                SU_OUTPUT_1, NULL },

in pwmib.h


onto the remaining 3 misbehaving OIDs :-)

  Bernd




More information about the Nut-upsuser mailing list