hwBatteryLogTestFinish
HUAWEI-POWER-MIB ·
.1.3.6.1.4.1.2011.6.2.1.6.5.1.7
Object
column Enumeration
Battery Test result. Options: 1. testing(1) - indicates that it is during testing 2. completed(2) - indicates that the test is completed normally 3. alarmTerminated(3) - indicates that the test is stopped by alarms 4. hostTerminated(4) - indicates that the test is stopped by the host 5. overtimeTerminated(5) - indicates that the test is stopped because of over 100 hours 6. notTest(6) - indicates that the test is not started 7. supplyRecoverAutotestTerminated(7) - indicates that the test is stopped because of supply recover
Context
- MIB
- HUAWEI-POWER-MIB
- OID
.1.3.6.1.4.1.2011.6.2.1.6.5.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwBatteryLogTestEntry
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-POWER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-POWER-MIB::hwBatteryLogTestFinish'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-POWER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-POWER-MIB::hwBatteryLogTestFinish.<hwEnvEmuIndex>.<hwPowerIndex>.<hwBatteryLogTestIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-POWER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-POWER-MIB::hwBatteryLogTestFinish'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | testing |
2 | completed |
3 | alarmTerminated |
4 | hostTerminated |
5 | overtimeTerminated |
6 | notTest |
7 | supplyRecoverAutotestTerminated |