sessionIp
SESSION-MIB ·
.1.3.6.1.4.1.1038.201.2
Object
scalar RFC1155-SMIIpAddress
IP address of the application that holds the session
Context
- MIB
- SESSION-MIB
- OID
.1.3.6.1.4.1.1038.201.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- session
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SESSION-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SESSION-MIB::sessionIp.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SESSION-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SESSION-MIB::sessionIp'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4