zhoneFileAction

ZHONE-SYSTEM-MIB · .1.3.6.1.4.1.5504.3.1.20.1

Object

scalar r/w Enumeration
File Action:
          
cd(1)    - change directory command used in conjunction with
           zhoneDirectory location which specifies destination
           directory.
dir(2)   - listing of files within the directory specified
           by zhoneDirectoryPath.  The generated file
           listing is written to zhoneFileTable.
copy(3)  - make a copy zhoneFileName1 and writes it to
           zhoneFileName2.  User should prepend pathname to 
           both filenames if not in default directory.
rm(4)    - removes file specified by zhoneFileName1.
mkdir(5) - creates a subdirectory specified by
           zhoneFileName1.
rmdir(6) - removes directory specified by zhoneFileName1.
           If directory not empty, returns error.
mv(7)    - moves zhoneFileName1 to zhoneFileName2.

Context

MIB
ZHONE-SYSTEM-MIB
OID
.1.3.6.1.4.1.5504.3.1.20.1
Type
scalar
Access
readwrite
Status
current
Parent
zhoneFileSystem
Groups
1

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1cd
2dir
3copy
4rm
5mkdir
6rmdir
7mv

Conformance