nbsUserSessionVia

NBS-USER-SESSION-MIB · .1.3.6.1.4.1.629.218.1.2.1.9

Object

column Enumeration
This object indicates the type of session. Note that this
field is decided by the system, and is not stored in the
utmp file.

Context

MIB
NBS-USER-SESSION-MIB
OID
.1.3.6.1.4.1.629.218.1.2.1.9
Type
column
Access
readonly
Status
current
Parent
nbsUserSessionEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
0notSupported
1console
2ssh
3telnet
4api
5snmp
6gui