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