All MIBs › FILE-SYSTEM-MIB › swFSDirectoryAttr
swFSDirectoryAttr
Module: FILE-SYSTEM-MIB
OID (symbolic): FILE-SYSTEM-MIB::swFSDirectoryAttr
OID (numeric): 1.3.6.1.4.1.171.12.14.3.3.2.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Displays the attributes of this entry. dir(1) - it's a directory. file(2) - it's a file.
What is swFSDirectoryAttr?
A read-only flag showing whether this directory-listing entry is dir(1), a subdirectory, or file(2), a regular file. Admins use it to tell folders apart from files when walking the swFSDirectoryTable listing returned for the path in swFSDirectoryPath.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.14.3.3.2.1.2 snmpwalk -v2c -c public <target> FILE-SYSTEM-MIB::swFSDirectoryAttr
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.14.3.3.2.1.2.1 snmpget -v2c -c public <target> FILE-SYSTEM-MIB::swFSDirectoryAttr.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swFSDirectoryAttr.1
Start monitoring D-Link managed switch/appliance (file system/storage capacity monitoring) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the FILE-SYSTEM-MIB::swFSDirectoryAttr OID value, configure state conditions and alerts, and monitor any D-Link managed switch/appliance (file system/storage capacity monitoring) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.14 | swFileSystemMIB | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.3 | swFSDirectoryCtrl | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.3.3 | swFSctrlDirectoryDir | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.3.3.2 | swFSDirectoryTable | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.3.3.2.1 | swFSDirectoryEntry | FILE-SYSTEM-MIB |
| 1.3.6.1.4.1.171.12.14.3.3.2.1.2 | swFSDirectoryAttr | FILE-SYSTEM-MIB |