Description
Power supply detection is wrong. Need to use POWERSUPPLY-MIB instead.
Right now many HP/Aruba switches report 1-4 power supplys with EPS/RPS, when only one power-supply is connected. Current method of getting this info is HP-ICF-CHASSIS
See attached picture
Below is the same switch with OID hpicfPsMIB
POWERSUPPLY-MIB::hpicfPsState.1 = INTEGER: psPowered(3)
POWERSUPPLY-MIB::hpicfPsState.2 = INTEGER: psNotPresent(1)
POWERSUPPLY-MIB::hpicfPsFailures.1 = Counter32: 0
POWERSUPPLY-MIB::hpicfPsFailures.2 = Counter32: 0
POWERSUPPLY-MIB::hpicfPsTemp.1 = INTEGER: 57
POWERSUPPLY-MIB::hpicfPsTemp.2 = INTEGER: 0
POWERSUPPLY-MIB::hpicfPsVoltageInfo.1 = STRING: AC 120V/240V
POWERSUPPLY-MIB::hpicfPsVoltageInfo.2 = STRING:
POWERSUPPLY-MIB::hpicfPsWattageCur.1 = INTEGER: 115
POWERSUPPLY-MIB::hpicfPsWattageCur.2 = INTEGER: 0
POWERSUPPLY-MIB::hpicfPsWattageMax.1 = INTEGER: 1000
POWERSUPPLY-MIB::hpicfPsWattageMax.2 = INTEGER: 0
POWERSUPPLY-MIB::hpicfPsLastCall.1 = Counter32: 268738
POWERSUPPLY-MIB::hpicfPsLastCall.2 = Counter32: 268738
POWERSUPPLY-MIB::hpicfPsModel.1 = STRING: J9580A
POWERSUPPLY-MIB::hpicfPsModel.2 = STRING: Unknwn
hpicfPsState can be
1: NotPresent
2: NotPlugged
3: Powered
4: Failed
5: PermFailure
6: Max
7: AuxFailure
8: NotPowered
9: AuxNotPowered
I have seen this on J9573A, J9729A, J9310A all with latest firmware
Regards
Christian