sshSessionState
RAISECOM-SSH-MIB ·
.1.3.6.1.4.1.8886.1.15.1.3.1.1.3
Object
column Enumeration
The object indicates the current state of Secure Shell Session. The state sessionVersionOk(1) indicates that server and client versions of SSH are exchanged and are compatible. The state sessionKeysExchanged(2) indicates that key exchange has been completed. The state sessionAuthenticated(3) indicates that the client has been successfully authenticated. The state sessionOpen(4) indicates that the session has been successfully opened. The state sessionDisconnecting(5) indicates that the session disconnection has begun. The state sessionDisconnected(6)indicates that the session has been disconnected. The state sessionClosed(7) indicates that the session has closed.
Context
- MIB
- RAISECOM-SSH-MIB
- OID
.1.3.6.1.4.1.8886.1.15.1.3.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sshSessionEntry
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 'RAISECOM-SSH-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-SSH-MIB::sshSessionState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAISECOM-SSH-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-SSH-MIB::sshSessionState.<sshSessionId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAISECOM-SSH-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAISECOM-SSH-MIB::sshSessionState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | sessionVersionOk |
2 | sessionKeysExchanged |
3 | sessionAuthenticated |
4 | sessionOpen |
5 | sessionDisconnecting |
6 | sessionDisconnected |
7 | sessionClosed |