hwUpsCtrlPowerOnState
HUAWEI-UPS-MIB ·
.1.3.6.1.4.1.2011.6.174.1.102.100.1.10
Object
column obsolete
Enumeration
Power On State,Enumeration type. Value 1 indicates power off. Value 2 indicates booting. Value 3 indicates failed to power on. Value 4 indicates succeed tp power on.
Context
- MIB
- HUAWEI-UPS-MIB
- OID
.1.3.6.1.4.1.2011.6.174.1.102.100.1.10- Type
- column
- Access
- readonly
- Status
- obsolete
- Parent
- hwUpsControlEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-UPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-UPS-MIB::hwUpsCtrlPowerOnState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-UPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-UPS-MIB::hwUpsCtrlPowerOnState.<hwUpsDeviceId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-UPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-UPS-MIB::hwUpsCtrlPowerOnState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | powerOff |
2 | powerOn |
3 | powerOnFail |
4 | powerOnComplete |