hwUpsBattTest
HUAWEI-UPS-MIB ·
.1.3.6.1.4.1.2011.6.174.1.103.101.1.6
Object
column obsolete
Enumeration
If you set the value to shallowDsgTest(4), you can perform a shallow discharge test; if you set the value to verifyDsgTest(5), you can perform a capacity test; if you set the value to stopTest(2), you can stop the test. Other settings are invalid. If you start a test when other tests are in progress, error code 4 is returned. During test, you can use this node to obtain the current or previous test type. If you have never started the battery test sheduleTest(3), shallowDsgTest(4), or verifyDsgTest(5), this node returns noTestInit(1).
Context
- MIB
- HUAWEI-UPS-MIB
- OID
.1.3.6.1.4.1.2011.6.174.1.103.101.1.6- Type
- column
- Access
- readonly
- Status
- obsolete
- Parent
- hwUpsBattScheduleTestEntry
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::hwUpsBattTest'
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::hwUpsBattTest.<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::hwUpsBattTest'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noTestInit |
2 | stopTest |
3 | scheduleTest |
4 | shallowDsgTest |
5 | verufyDsgTest |