agUSBcopyFile
IBM-GbTOR-G8264-MIB ·
.1.3.6.1.4.1.26543.2.7.6.1.1.25.4
Object
scalar r/w
Enumeration
When this object is read the current state is returned. idle(1) indicates that there is no copy in progess. complete(4) indicates that the last copy operation is completed. Setting the value to copy(1), will execute the operation (copy to or from USB stick). If the copy is successful this variable will return the state 'complete' else it will return 'failed'. Once the operation is completed, agUSBcopyFile should be set back to 'idle' state so others can issue the copy command via SNMP.
Context
- MIB
- IBM-GbTOR-G8264-MIB
- OID
.1.3.6.1.4.1.26543.2.7.6.1.1.25.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agUSBCopy
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-GbTOR-G8264-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8264-MIB::agUSBcopyFile.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-G8264-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-G8264-MIB::agUSBcopyFile'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | copy |
2 | idle |
3 | inprogress |
4 | complete |
5 | failed |