hwAlarmTrapOrdinalNumber

EMAP-MIB · .1.3.6.1.4.1.2011.6.164.1.1.2.2

Object

scalar r/w Unsigned32
Site alarm serial number (SN) is the unique ID of the alarm Trap. It is used to resend and synchronize alarms. 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 alarm number required.  So the monitor send the 100 alarm 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.2
Type
scalar
Access
readwrite
Status
current
Parent
hwSiteAlarms

Scalars 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::hwAlarmTrapOrdinalNumber.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::hwAlarmTrapOrdinalNumber'

Syntax

Unsigned32

Values & Constraints

Object Constraints
range: 0-4294967295