zxAnFileCopyStatus
ZTE-AN-FILE-MIB ·
.1.3.6.1.4.1.3902.1015.14.2.20.15.1.2
Object
column byteEnumeration
Status of copying file .
Context
- MIB
- ZTE-AN-FILE-MIB
- OID
.1.3.6.1.4.1.3902.1015.14.2.20.15.1.2- Type
- column
- Access
- readonly
- Status
- current
- Units
- byte
- Parent
- zxAnFileCopyStatusEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZTE-AN-FILE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-FILE-MIB::zxAnFileCopyStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-FILE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-FILE-MIB::zxAnFileCopyStatus.<zxAnFileStorageDevRack>.<zxAnFileStorageDevShelf>.<zxAnFileStorageDevSlot>.<zxAnFileStorageDevSubCard>.<zxAnFileStorageDevType>.<zxAnFileStorageDevId>.<zxAnCopyFileName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-FILE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-FILE-MIB::zxAnFileCopyStatus'
Syntax
byteEnumeration
Values & Constraints
Enumerated Values
1 | notStarted |
2 | inprogress |
3 | success |
4 | failed |