hwDeviceTrapOrdinalNumber
EMAP-MIB ·
.1.3.6.1.4.1.2011.6.164.1.1.2.1
Object
scalar r/w
Unsigned32
Site device event trap serial number (SN) is the unique ID of the device event trap. It is used to resend and synchronize event traps. Its value range is 0 to 4294967295. When the value exceeds the maximum value, the system automatically clears the value and numbers the alarm from 0 to 4294967295. If the network management system (NMS) recieve the alarm number is not consequential, in such case that it notifies the SNMP agent the event trap number required. So the monitor send the 100 event trap messages in maximum, after consequencial number required by NMS again. Specially, if NMS set the value to 0, the agent would clear the alarm queue automatically.
Context
- MIB
- EMAP-MIB
- OID
.1.3.6.1.4.1.2011.6.164.1.1.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSiteAlarms
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 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwDeviceTrapOrdinalNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EMAP-MIB::hwDeviceTrapOrdinalNumber'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-4294967295