Get Statistics for Event Subscription Messages
更新时间: 2026/08/06
在Gitcode上查看源码Get Statistics for Event Subscription Messages
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains event subscription message statistics.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=87h |
| 5 | Parameter Selector, LS Byte first. For details, see Table 1 Chassis parameters. |
| 6 | DestinationId. The value ranges from 0x00 to 0x03. |
| 7:8 | Read offset, offset of the read data, starting from 0. |
| 9 | Length: read length |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | End of List Indicating whether the data reading is complete. Long data may need to be read multiple times. This field is used to check whether data is completely read. [7:1]: reserved [0]: End of list 0=last data 1=middle data |
| 6:N | Data. For details, see Table 1 Subrack parameters. |
Related Information
Table 1 Subrack configuration parameters
| Function Usage | parameter selector | Description |
|---|---|---|
| Number of SNMP traps sent per day | 0x00 | Request: Read Offset: 0x0000 Length: 16 Response: End of List: 0 Data6-Data9: SuccessCountYesterday, number of successful sending times on the previous day: Data10-Data13, FailureCountYesterday: number of sending failures on the previous day: Data14-Data17: SuccessCountToday, number of successful sending times on the current day: Data18-Data21, FailureCountToday: number of sending failures on the current day NOTE: After the address of the SNMP trap receiver is changed, the number of messages sent by the receiver every day is cleared. |
Command Example
Obtain the number of SNMP traps sent every day.
Request:
bash
ipmicmd -k "0f 00 db 07 00 87 00 03 00 00 10 " smi 0Response:
text
0f db 07 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00