hwUpsBattAutoTest
HUAWEI-UPS-MIB ·
.1.3.6.1.4.1.2011.6.174.1.103.101.1.1
Object
column r/w
Enumeration
Scheduled shallow discharge test enabled or disabled. Enumeration value. The value 1 indicates that the test is disabled. The value 2 indicates that the test is enabled.
Context
- MIB
- HUAWEI-UPS-MIB
- OID
.1.3.6.1.4.1.2011.6.174.1.103.101.1.1- Type
- column
- Access
- readwrite
- Status
- current
- 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::hwUpsBattAutoTest'
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::hwUpsBattAutoTest.<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::hwUpsBattAutoTest'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disable |
2 | enalbe |