devSocketState
PDN-SOCKET-MIB ·
.1.3.6.1.4.1.1795.2.24.2.19.1.1.1.7
Object
The State the socket is in. This is valid for stream sockets only
Context
- MIB
- PDN-SOCKET-MIB
- OID
.1.3.6.1.4.1.1795.2.24.2.19.1.1.1.7- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- devSocketStatsEntry
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 'PDN-SOCKET-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-SOCKET-MIB::devSocketState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PDN-SOCKET-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-SOCKET-MIB::devSocketState.<entPhysicalIndex>.<devSocketNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDN-SOCKET-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDN-SOCKET-MIB::devSocketState'
Syntax
- Source
- PDN-TCSocketState
- Base type
Enumeration
Values & Constraints
Type Values
1 | closed |
2 | listen |
3 | sYNSent |
4 | sYNRCVD |
5 | established |
6 | closeWait |
7 | fINWait |
8 | closing |
9 | lastAck |
10 | fINWait2 |
11 | timeWait |