swSFTPServerState

SFTPServer-MIB · .1.3.6.1.4.1.171.12.104.1.2

Object

scalar r/w Enumeration
This object indicates if the SFTP server is enabled or disabled.
          
NOTE: To make SFTP server run, SSH should be enabled.

Context

MIB
SFTPServer-MIB
OID
.1.3.6.1.4.1.171.12.104.1.2
Type
scalar
Access
readwrite
Status
current
Parent
swSFTPServerMgmt

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SFTPServer-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SFTPServer-MIB::swSFTPServerState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SFTPServer-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SFTPServer-MIB::swSFTPServerState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enabled
2disabled