Get Device Health
更新时间: 2026/08/06
在Gitcode上查看源码Get Device Health
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to read the health status of a device by slot.
Privilege
DiagnoseMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, sub command = 54h |
| 2 | Component type. For details, see the component type definition. NOTE: Currently, only ES3000 V3 hard disks and ES3000 V3 SSD cards are supported. 02h: hard disk 08h: PCIe card |
| 3 | Component slot, corresponding to the silkscreen. The slot number starts from 0 for hard disks and starts from 1 for PCIe cards. |
| 4 | Reserved. The default value is 0. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | Health Status. 0: OK 1: minor alarm 2: major 3: critical alarm |
Command Example
Query the health status of PSU 1.
Request:
bash
ipmicmd -k "0f 00 30 90 54 03 01 00" smi 0Response:
text
0f 31 00 90 00 00