hwBatteryTestOperStatus
HUAWEI-POWER-MIB ·
.1.3.6.1.4.1.2011.6.2.1.6.4.1.8
Object
column Enumeration
Battery discharge test operate status. Options: 1. autoTestPermit(1) - indicates that auto discharge test is enabled 2. autoTestForbid(2) - indicates that auto discharge test is disabled 3. timeautoTestPermit(3) - indicates that timing auto discharge test is enabled 4. offautoTestPermit(4) - indicates that off auto discharge test is enabled 5. timeoffautoTestPermit(5) - indicates that timing-off auto discharge test is enabled
Context
- MIB
- HUAWEI-POWER-MIB
- OID
.1.3.6.1.4.1.2011.6.2.1.6.4.1.8- Type
- column
- Access
- readonly
- 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::hwBatteryTestOperStatus'
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::hwBatteryTestOperStatus.<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::hwBatteryTestOperStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | autoTestPermit |
2 | autoTestForbid |
3 | timeautoTestPermit |
4 | offautoTestPermit |
5 | timeoffautoTestPermit |