systemFileCmdFilename
IBM-BCCUSTOM-MIB ·
ibm variant
·
.1.3.6.1.4.1.2.6.215.4.2.2
Object
scalar deprecated
r/w
OctetString
The system file name and category of the file set by AMM that the I/O Module
must use to perform an operation on the file. The string format of this command
is defined:
1366 File-Name: %s\n, Category: %s\n\0
File-Name: The file name of the file i.e service.log, new_config.cfg
Category: The system file must be one of the categories defined in the MIB
Object systemFileInformation.
The format of this string is very important and must be strictly followed. The string
is made up of many parts of text information. Each part has the format of the
form Token: information_string\n,. Each part consists of a token followed by
token information. The end of each part is marked by a new line character, and a
comma or a null character.1433 The total length of the string cannot exceed 256 octets.
Context
- MIB
- IBM-BCCUSTOM-MIB
- OID
.1.3.6.1.4.1.2.6.215.4.2.2- Type
- scalar
- Access
- readwrite
- Status
- deprecated
- Parent
- systemFileCmd
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 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-BCCUSTOM-MIB::systemFileCmdFilename.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-BCCUSTOM-MIB::systemFileCmdFilename'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128