hwStatusCollectResult
HUAWEI-LOAD-BACKUP-MIB ·
.1.3.6.1.4.1.2011.6.6.5.6
Object
scalar
OctetString
After the collection of the status information about an object is complete, the collection result can be queried.
If the health diagnosis has not started, or the health diagnosis has started but is not yet complete,
the displayed collection result is a blank character string.
If the health diagnosis has stopped, the displayed collection result is the actual data in the latest collection.
That is, after a collection is complete, the collection data is retained until the next collection starts.
1. The result returned by hwStatusCollectResult is displayed in the following format:
----------------------------------------------------------------------
| DATA-LENGTH (4byte) | FLAG (2byte) | TLV_NUM(2byte) |
|---------------------------------------------------------------
| TYPE1(2byte) | LEN1(2byte) | VALUE1 | -->CRC
|---------------------------------------------------------------
| TYPE2(2byte) | LEN2(2byte) | VALUE2 | -->TIME_INFO
----------------------------------------------------------------------
| |
| the content of Collected status |
| |
----------------------------------------------------------------------
DATA-LENGTH: It is used to save the length of a file.
FLAG: It is used to save the flag of a file, which represents the format of the file content.
Currently, the file content uses the non-compressing format, corresponding to flag 0.
TLV_NUM: It indicates the number of TLVs following a file. Currently, the number is 2,
indicating two TLVs, namely the CRC value and the time information.
The CRC value is used to record the compressed collection result. Currently, the CRC value is 0,
an invalid value, because the collection result is not compressed.
The data is reserved (type value 0) for the future performance expansion.
The time information indicates the time when the collection is complete. It is standard time on
the device and is recorded in a character string.
The format is <YYYY-MM-DD HH:MM:SS GMT{+/-}HH:MM> and the type value is 1.
2. The content of the status information is as follows (taking the board running status
and the CPU usage status information as an example):
-----------------------------------------------------------------------------------------
|hwStatusID|hwStatusDescription|instance |result of diagnoses| state |
-----------------------------------------------------------------------------------------
| 0 | CPU occupancy |NULL | 0/1(ok/false) |0-100(%) |
------------------------------------------------------------------------------------------
| 1 | Board state |frame/slot | 0/1(ok/false) |0-4(0:null;1:autofind; |
| | | | |2:fail;3:config;4:active)|
------------------------------------------------------------------------------------------
In the preceding content, each status index indicates a fault diagnosis point, and instance
indicates the minimum unit of data collection for the fault diagnosis point.
Each instance represents a piece of record in the diagnosis result. When the diagnosis point
corresponds to only one instance, the displayed instance value is NULL.
The data indicates the actual collection data about the instance of a fault diagnosis point.
3. The format of the reported status information is as follows:
The diagnosis item index and the instance determine a record. Each record contains the following
information:
The diagnosis item index, instance, diagnosis result, and status data. The information in each
record is separated by ~ and two records are separated by +.
For example, when the CPU usage (no instance) reaches 98%, the format of the reported information
is 0~~1~98%. When board 0/2 is in the faulty state whereas board 0/3 is in the normal state,
the format of the reported information is 1~0/2~1~fail+1~0/3~0~active.
If a status information collection fails, the format of the reported information contains only
the status item index and the diagnosis result (1).
For example, when the collection of the board running information fails,
the format of the reported information is 1~~1~.
Context
- MIB
- HUAWEI-LOAD-BACKUP-MIB
- OID
.1.3.6.1.4.1.2011.6.6.5.6- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hwStatusCollect
- Siblings
- 7
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-8192
Related Objects
Sibling Objects
| Object | Type | Syntax | OID |
|---|---|---|---|
| hwStatusInfoTable The table contains all collectable status information in the system.
The index of this table is hwStatusID. The index value is the status ID.
The table can only be queried. It can… | table | - | .1.3.6.1.4.1.2011.6.6.5.1 |
| hwStatusCollectIndicate Start to collect status or stop collecting status.
Options:
1. start(1) -Collecting status starts.
2. stop(2) -Collecting status stops. | scalar | Enumeration | .1.3.6.1.4.1.2011.6.6.5.2 |
| hwStatusCollectMask Collecting status mask.
Options:
1.cpu(0) -indicates that the CPU usage of the control board.
2.board(1) -indicates that the running status of the bo… | scalar | Bits | .1.3.6.1.4.1.2011.6.6.5.3 |
| hwStatusCollectType Collecting type.
Options:
1.fault(1) -Collecting system fault status information.
2.all(2) -Collecting all the system information.
When the collection start command is sent, the… | scalar | Enumeration | .1.3.6.1.4.1.2011.6.6.5.4 |
| hwStatusCollectProgress The progress of collecting the device status information about the object can be queried
at the specified time.
If the health diagnosis has not started, the displayed collection p… | scalar | Integer32 | .1.3.6.1.4.1.2011.6.6.5.5 |
| hwStatusCollectResultSize The size of the Collecting result, unit is byte. | scalar | SNMPv2-SMIInteger32 | .1.3.6.1.4.1.2011.6.6.5.7 |
| hwStatusCollectReady Ready status for health diagnosis.
Options:
1.ready(1) -The device is ready and health diagnosis can start.
2.notReady(2) -The device is not ready and health diagnosis cannot s… | scalar | Enumeration | .1.3.6.1.4.1.2011.6.6.5.8 |