hwBatteryTestAdminStatus
HUAWEI-POWER-MIB ·
.1.3.6.1.4.1.2011.6.2.1.6.4.1.1
Object
column r/w
Enumeration
Battery test admin status. Options: 1. start(1) - indicates that the Battery starts testing 2. terminate(2) - indicates that the Battery terminates testing 3. enableAutoTest(3) - indicates that the Battery enables auto test function 4. disableAutoTest(4) - indicates that the Battery disables auto test function 5. timeautoTest(5) - indicates that the Battery enable timing auto test function 6. offautoTest(6) - indicates that the Battery enable off auto test function 7. timeoffautoTest(7) - indicates that the Battery enable timing+off auto test
Context
- MIB
- HUAWEI-POWER-MIB
- OID
.1.3.6.1.4.1.2011.6.2.1.6.4.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwBatteryTestEntry
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::hwBatteryTestAdminStatus'
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::hwBatteryTestAdminStatus.<hwEnvEmuIndex>.<hwPowerIndex>'
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::hwBatteryTestAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | start |
2 | terminate |
3 | enableAutoTest |
4 | disableAutoTest |
5 | timeautoTest |
6 | offautoTest |
7 | timeoffautoTest |