agentxSessionIndex

AGENTX-MIB · .1.3.6.1.2.1.74.1.3.2.1.1

Object

column Unsigned32
A unique index for the subagent session.  It is the same as
h.sessionID defined in the agentx header.  Note that if
a subagent's session with the master agent is closed for
any reason its index should not be re-used.
A value of zero(0) is specifically allowed in order
to be compatible with the definition of h.sessionId.

Context

MIB
AGENTX-MIB
OID
.1.3.6.1.2.1.74.1.3.2.1.1
Type
column
Access
noaccess
Status
current
Parent
agentxSessionEntry

Walk 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 'AGENTX-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AGENTX-MIB::agentxSessionIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AGENTX-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AGENTX-MIB::agentxSessionIndex.<agentxConnIndex>.<agentxSessionIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AGENTX-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AGENTX-MIB::agentxSessionIndex'

Syntax

Unsigned32

Values & Constraints

Object Constraints
range: 0-4294967295