hwBulkFileStatus

HUAWEI-BULKSTATISTICS-MIB · .1.3.6.1.4.1.2011.6.103.1.1.4.1.7

Object

column r/w Enumeration
Bulk file status.               
Options:
1.ready(1)   -indicates that the statistics file is only created, 
              leaving the actual statistics collection to be started. This value cannot be set.
2.create(2)  -indicates the starting of the file. If succeeds, the status changes to running. 
              If fails, an error code is returned.
3.running(3) -indicates that the statistics file is already started successfully 
              and in the running state currently. This value cannot be set.
4.nospace(4) -indicates that creating or writing the file failed. 
              The cause is no free space in hard disk. This value cannot be set.
5.noMem(5)   -indicates that creating or writing the file failed. The cause is no free memory. 
              This value cannot be set.
6.writeErr(6)-indicates an Unknown error. The file cannot be written.
7.stopped(7) -indicates that the task is suspended.
If this value is set when in the running status, then writing file is stopped. 
Meanwhile, the system generates a file based on the collected data.

Context

MIB
HUAWEI-BULKSTATISTICS-MIB
OID
.1.3.6.1.4.1.2011.6.103.1.1.4.1.7
Type
column
Access
readwrite
Status
current
Parent
hwBulkFileEntry

Walk 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 'HUAWEI-BULKSTATISTICS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BULKSTATISTICS-MIB::hwBulkFileStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-BULKSTATISTICS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BULKSTATISTICS-MIB::hwBulkFileStatus.<hwBulkFileIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-BULKSTATISTICS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-BULKSTATISTICS-MIB::hwBulkFileStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1ready
2create
3running
4nospace
5noMem
6writeErr
7stopped