Get Statistics for Event Subscription Messages
更新时间: 2026/08/06
在Gitcode上查看源码

Get Statistics for Event Subscription Messages

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains event subscription message statistics.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer 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.
4Sub command, sub command=87h
5Parameter Selector, LS Byte first. For details, see Table 1 Chassis parameters.
6DestinationId. The value ranges from 0x00 to 0x03.
7:8Read offset, offset of the read data, starting from 0.
9Length: read length

Response Information

ByteData Field
1Completion Code
2:4Manufacturer 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.
5End 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:NData. For details, see Table 1 Subrack parameters.

Related Information

Table 1 Subrack configuration parameters

Function Usageparameter selectorDescription
Number of SNMP traps sent per day0x00Request:
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 0

Response:

text
0f db 07 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00

Back to Index