hh3cServerPowerState
HH3C-STORAGE-MIB ·
.1.3.6.1.4.1.25506.10.1.1.1.3.4
Object
scalar Enumeration
This object identifies the state of power supply in the server, and is valid when UPS has been configured successful. The value 'online' means power supply is well-balanced. The value 'onlinebypass' means supply power without ups. The value 'onbattery' means supply power with battery. The value 'unknown' means the power supply state is unknown.
Context
- MIB
- HH3C-STORAGE-MIB
- OID
.1.3.6.1.4.1.25506.10.1.1.1.3.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hh3cStorageServerPhysInfo
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-STORAGE-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-STORAGE-MIB::hh3cServerPowerState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-STORAGE-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-STORAGE-MIB::hh3cServerPowerState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | online |
2 | onlinebypass |
3 | onbattery |
4 | unknown |