cmGwDevEvIndex
CM-GATEWAY-MIB ·
.1.3.6.1.4.1.1166.1.19.52.1.4.1.2.1.1
Object
column Integer32
Provides relative ordering of the objects in the event log. This object will always increase except when (a) the log is reset via cmGwDevEvControl, (b) the device reboots and does not implement non-volatile storage for this log, or (c) it reaches the value 2^31. The next entry for all the above cases is 1.
Context
- MIB
- CM-GATEWAY-MIB
- OID
.1.3.6.1.4.1.1166.1.19.52.1.4.1.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cmGwDevEventEntry
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 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-GATEWAY-MIB::cmGwDevEvIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-GATEWAY-MIB::cmGwDevEvIndex.<cmGwDevEvIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-GATEWAY-MIB::cmGwDevEvIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647