[Nut-upsdev] [Nut-upsuser] Powerware 9155 with SNMP card

Bernd Markgraf Bernd.Markgraf at med.ovgu.de
Fri Aug 10 12:28:50 UTC 2007


Hi again,

further on with my investigations snmpwalk came handy (should have
thought of that earlier!)

[snip]
mib-2.33.1.3.2.0 = INTEGER: 3	// should be my number input phases
mib-2.33.1.3.3.1.2.1 = INTEGER: 500  //input freq 1 10ths of Hz
mib-2.33.1.3.3.1.2.2 = INTEGER: 500  //input freq 2
mib-2.33.1.3.3.1.2.3 = INTEGER: 500  //input freq 3
mib-2.33.1.3.3.1.3.1 = INTEGER: 234  //input volt 1
mib-2.33.1.3.3.1.3.2 = INTEGER: 234  //input volt 2
mib-2.33.1.3.3.1.3.3 = INTEGER: 235  //input volt 3
mib-2.33.1.3.3.1.4.1 = INTEGER: 20   //input amps 1
mib-2.33.1.3.3.1.4.2 = INTEGER: 20   //input amps 2
mib-2.33.1.3.3.1.4.3 = INTEGER: 20   //input amps 3
mib-2.33.1.4.1.0 = INTEGER: 3	//power status OL
mib-2.33.1.4.2.0 = INTEGER: 500 //output freq in 0.1Hz
mib-2.33.1.4.3.0 = INTEGER: 1   //number output phases
mib-2.33.1.4.4.1.1.1 = INTEGER: 1   
mib-2.33.1.4.4.1.2.1 = INTEGER: 229  //output voltage
mib-2.33.1.4.4.1.3.1 = INTEGER: 70   //output amps
mib-2.33.1.4.4.1.4.1 = INTEGER: 1413 //output watts
mib-2.33.1.4.4.1.5.1 = INTEGER: 13   //output load %
[snip]

This leads me to a few conclusions regarding pwmib.h

        { "output.voltage", 0, 1.0, PW_OID_OUT_VOLTAGE ".0", "",
                SU_OUTPUT_1, NULL },
        { "output.current", 0, 0.1, PW_OID_OUT_CURRENT ".0", "",
                SU_OUTPUT_1, NULL },
        { "output.realpower", 0, 0.1, PW_OID_OUT_POWER ".1", "",
                SU_OUTPUT_1, NULL },

should rather be 
        { "output.voltage", 0, 1.0, PW_OID_OUT_VOLTAGE ".1", "",
                SU_OUTPUT_1, NULL },
        { "output.current", 0, 1.0, PW_OID_OUT_CURRENT ".1", "",
                SU_OUTPUT_1, NULL },
        { "output.realpower", 0, 1.0, PW_OID_OUT_POWER ".1", "",
                SU_OUTPUT_1, NULL },

to report a load of 1413W instead of 143.1 and to report a current of 7A
instead of 0.7A (Though the MIB says currents are reported in Amps I
don't think I'm running 70A on the output ;-)) My question about whether
one should append .0 or .1 for the OIDs of a single output also answer
itself now.

while looking further i guess the same is true for 
        { "input.current", 0, 0.1, PW_OID_IN_CURRENT ".0", "",
                SU_INPUT_1, NULL },
and all other appearances of realpower. Though I don't know if this is
also valid for other UPS models. Maybe Niels' work can enlighten things
here?

  Bernd




More information about the Nut-upsdev mailing list