ons15501LastTrapIndex
ONS15501-MIB ·
.1.3.6.1.4.1.1869.11.11.3.1
Object
scalar Unsigned32
The value of ons15501TrapLogEntryIndex, used while logging the most recent trap. Goes back to 1, after reaching the max value. The trap log table is a circular list with the most recent entry at index given by this attribute. On restart of the unit, the value is reset to 1.
Context
- MIB
- ONS15501-MIB
- OID
.1.3.6.1.4.1.1869.11.11.3.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- ons15501Alarms
- Groups
- 1
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 'ONS15501-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ONS15501-MIB::ons15501LastTrapIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ONS15501-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ONS15501-MIB::ons15501LastTrapIndex'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-32767
Conformance
Member of