swSSHAdmin
SSH-MIB ·
d-link variant
·
.1.3.6.1.4.1.171.12.6.1.2
Object
scalar r/w
Enumeration
This object indicates the Secure Shell is enable or disable.
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 'SSH-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SSH-MIB::swSSHAdmin.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SSH-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SSH-MIB::swSSHAdmin'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |