hwResType
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.17.1.1.1
Object
column Enumeration
System resource type. Options: 1. memory(1) -indicates the memory resource 2. messageUnits(2)-indicates the message resource 3. cpu(3) -indicates the CPU resource 4. storage(8) -indicates the storage resource
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.17.1.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwSystemResEntry
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-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwResType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwResType.<hwFrameIndex>.<hwSlotIndex>.<hwResType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwResType'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.