ostAlarmHistoryIndex
OMNITRON-TRAP-MIB ·
.1.3.6.1.4.1.7342.12.1.5.1.1
Object
column SNMPv2-SMIUnsigned32
An index to the Alarm History table.
Alarm History table indices are assigned sequentially by the SNMP
Agent. When initialized the starting index number is 1.
An entry is added to the table dynamically at the next sequentially
available index number when an alarm becomes inactive. The last 100
alarms are stored in the table. Alarms older than the last 100 are
automatically deleted.
Referential integrity is necessary, i.e., the index needs to be
persistent upon a reboot or restart of a device. The index
is never reused for a new alarm entry until the index wraps to zero.
The index value keeps increasing up to that time.
Context
- MIB
- OMNITRON-TRAP-MIB
- OID
.1.3.6.1.4.1.7342.12.1.5.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- ostAlarmHistoryEntry
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 'OMNITRON-TRAP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-TRAP-MIB::ostAlarmHistoryIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-TRAP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-TRAP-MIB::ostAlarmHistoryIndex.<ostAlarmHistoryIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-TRAP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-TRAP-MIB::ostAlarmHistoryIndex'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295