hwsLswTrapCpuCoreInfo
HUAWEI-LswTRAP-MIB ·
.1.3.6.1.4.1.2011.2.23.1.12.2.1
Object
scalar OctetString
hwLswCpuCoreIndex,hwLswCpuCoreUsage,hwLswCpuCoreUsr,
hwLswCpuCoreSys,hwLswCpuCoreIrq,hwLswCpuCoreIdle.
Each line contains the following comma-separated values:
hwLswCpuCoreIndex(Integer32):CPU core index.
hwLswCpuCoreUsage(Unsigned32): Percentage of CPU core usage ,0~100
hwLswCpuCoreUsr(Unsigned32): Percentage of CPU core user usage ,0~100
hwLswCpuCoreSys(Unsigned32): Percentage of CPU core system usage ,0~100
hwLswCpuCoreIrq(Unsigned32): Percentage of CPU core interrupt usage ,0~100
hwLswCpuCoreIdle(Unsigned32): Percentage of CPU core idle usage ,0~100
Context
- MIB
- HUAWEI-LswTRAP-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.12.2.1- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwsLswTRAPMibInfor
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswTRAP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswTRAP-MIB::hwsLswTrapCpuCoreInfo.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswTRAP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswTRAP-MIB::hwsLswTrapCpuCoreInfo'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255