charPortSessionNumber
CHARACTER-MIB ·
.1.3.6.1.2.1.19.2.1.17
Object
column SNMPv2-SMIGauge32
The number of open sessions on the port that are in the connecting, connected, or disconnecting state.
Context
- MIB
- CHARACTER-MIB
- OID
.1.3.6.1.2.1.19.2.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- charPortEntry
- Groups
- 1
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 'CHARACTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CHARACTER-MIB::charPortSessionNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CHARACTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CHARACTER-MIB::charPortSessionNumber.<charPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CHARACTER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CHARACTER-MIB::charPortSessionNumber'
Syntax
- Source
- SNMPv2-SMIGauge32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of