swFSFileDelOption
FILE-SYSTEM-MIB ·
.1.3.6.1.4.1.171.12.14.4.2.2
Object
scalar r/w
Enumeration
When this object is set to none(1), the file will be deleted. When this object is set to recursive(2), the directory will be deleted despite of whether there is any file in it.
Context
- MIB
- FILE-SYSTEM-MIB
- OID
.1.3.6.1.4.1.171.12.14.4.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swFSFileDel
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 'FILE-SYSTEM-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FILE-SYSTEM-MIB::swFSFileDelOption.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FILE-SYSTEM-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FILE-SYSTEM-MIB::swFSFileDelOption'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | recursive |