All MIBs › SNMP-SSH-TM-MIB › snmpSshtmSessionCloses
snmpSshtmSessionCloses
Module: SNMP-SSH-TM-MIB
OID (symbolic): SNMP-SSH-TM-MIB::snmpSshtmSessionCloses
OID (numeric): 1.3.6.1.2.1.189.1.1.2
Node type: OBJECT-TYPE
Type: Counter32
Access: read-only
Description: The number of times a closeSession() request has been executed as an SSH client, whether it succeeded or failed.
What is snmpSshtmSessionCloses?
This Counter32 counts every time this device, acting as an SSH client, has executed a closeSession() request, regardless of whether it succeeded or failed. Admins compare this to snmpSshtmSessionOpens to see whether SSH sessions are being properly torn down after use, since a growing gap between opens and closes could indicate leaked or lingering sessions. For example, a persistent gap between the opens and closes counters over time might prompt an admin to investigate whether sessions are failing to close cleanly.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.189.1.1.2 snmpwalk -v2c -c public <target> SNMP-SSH-TM-MIB::snmpSshtmSessionCloses
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.189.1.1.2.1 snmpget -v2c -c public <target> SNMP-SSH-TM-MIB::snmpSshtmSessionCloses.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> snmpSshtmSessionCloses.1
Start monitoring SNMP agents/managers implementing the SSH transport model (RFC 5592) (session open/close/auth-failure statistics) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SNMP-SSH-TM-MIB::snmpSshtmSessionCloses OID value, configure state conditions and alerts, and monitor any SNMP agents/managers implementing the SSH transport model (RFC 5592) (session open/close/auth-failure statistics) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | APERTUS-NPG-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.189 | snmpSshtmMIB | SNMP-SSH-TM-MIB |
| 1.3.6.1.2.1.189.1 | snmpSshtmObjects | SNMP-SSH-TM-MIB |
| 1.3.6.1.2.1.189.1.1 | snmpSshtmSession | SNMP-SSH-TM-MIB |
| 1.3.6.1.2.1.189.1.1.2 | snmpSshtmSessionCloses | SNMP-SSH-TM-MIB |