sshMaxSessions
LUXN-MIB ·
.1.3.6.1.4.1.4253.4.3.2.3
Object
scalar mandatory
r/w
Integer32
The maximum number of SSH sessions that can be active at one time. Setting this element will also affect the number of telnet sessions that can be active at a time.
Context
- MIB
- LUXN-MIB
- OID
.1.3.6.1.4.1.4253.4.3.2.3- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- sshSecMgmt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::sshMaxSessions.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUXN-MIB::sshMaxSessions'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-6