tn3270eTcpConnStateLastDiscReason

TN3270E-MIB · .1.3.6.1.2.1.34.8.1.9.1.21

Object

column Enumeration
The last disconnect reason.  A session that has not
experienced a disconnect shall use the value unknown(1)
for this object.  Depending on when an implementation
removes entries from this table, certain states may
never be returned.

Context

MIB
TN3270E-MIB
OID
.1.3.6.1.2.1.34.8.1.9.1.21
Type
column
Access
readonly
Status
current
Parent
tn3270eTcpConnEntry
Groups
1

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 'TN3270E-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN3270E-MIB::tn3270eTcpConnStateLastDiscReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN3270E-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN3270E-MIB::tn3270eTcpConnStateLastDiscReason.<tn3270eTcpConnRemAddrType>.<tn3270eTcpConnRemAddress>.<tn3270eTcpConnRemPort>.<tn3270eTcpConnLocalAddrType>.<tn3270eTcpConnLocalAddress>.<tn3270eTcpConnLocalPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN3270E-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN3270E-MIB::tn3270eTcpConnStateLastDiscReason'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1unknown
2hostSendsUnbind
3hostDontAcceptConnection
4outOfResource
5clientProtocolError
6invalidDeviceName
7deviceInUse
8inactivityTimeout
9hostNotResponding
10clientNotResponding
11serverClose
12sysreqLogoff
13serverSpecificHexCode

Conformance