expNameHighestIndex

EXPRESSION-MIB · .1.3.6.1.4.1.9.10.22.1.2.2

Object

The highest value of ExpressionIndex ever assigned on
this system.  Preferrably this value is preserved across
system reboots.  A managed system that is unable to
store expressions across reboots need not preserve this
value across reboots.
          
If all expression-creating applications cooperate, they
may use this to avoid reusing an ExpressionIndex.  To
do so, attempt creation of a new entry with this
value + 1 as the value of expExpressionIndex.
          
Although reusing ExpressionIndexes could lead to an
application receiving a misunderstood value, it is a
matter of local management policy whether to reuse them.

Context

MIB
EXPRESSION-MIB
OID
.1.3.6.1.4.1.9.10.22.1.2.2
Type
scalar
Access
readonly
Status
current
Parent
expNames
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EXPRESSION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EXPRESSION-MIB::expNameHighestIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EXPRESSION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EXPRESSION-MIB::expNameHighestIndex'

Syntax

Source
ExpressionIndexOrZero
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295

Conformance