logCurrentIndex
LOG-MIB ·
.1.3.6.1.4.1.1038.105.105.1.1
Object
column Integer32
A unique value which identify a particular logCurrent entry. The index value is comprised between 1 and logCurrentNumber. There is no relation between the index Value and the date of the alarm.
Context
- MIB
- LOG-MIB
- OID
.1.3.6.1.4.1.1038.105.105.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- logCurrentEntry
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 'LOG-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LOG-MIB::logCurrentIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LOG-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LOG-MIB::logCurrentIndex.<logCurrentIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LOG-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LOG-MIB::logCurrentIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647