简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
GetIpmiConfig
贡献者
建议更改
您可以使用 GetIpmiConfig
方法从节点中的传感器检索硬件传感器信息。
参数
此方法具有以下输入参数:
Name | Description | Type |
---|---|---|
chassisType |
用于显示每个节点机箱类型的信息。可能值:
|
string |
返回值
此方法具有以下返回值:
Name | Description | Type |
---|---|---|
sensorName |
已找到的传感器的名称。 |
string |
uniqueSenorID |
传感器的唯一标识符。 |
string |
请求示例
此方法的请求类似于以下示例:
{ "method": "GetIpmiConfig", "params": { "chassisType"; "all" }, "id" : 1 }
响应示例
此方法返回类似于以下示例的响应:
{ "id": 1, "result": { "nodes": [ { "nodeID": 1, "result": { "ipmiConfig": { "C220M4": [ { "sensorName": "Fan1A RPM", "uniqueSensorID": "29.1:0xf" }, { "sensorName": "Fan1B RPM", "uniqueSensorID": "29.1:0x10" }, { "sensorName": "Fan2A RPM", "uniqueSensorID": "29.2:0x11" }, { "sensorName": "Fan2B RPM", "uniqueSensorID": "29.2:0x12" }, { "sensorName": "Fan3A RPM", "uniqueSensorID": "29.3:0x13" }, { "sensorName": "Fan3B RPM", "uniqueSensorID": "29.3:0x14" }, { "sensorName": "Fan4A RPM", "uniqueSensorID": "29.4:0x15" }, { "sensorName": "Fan4B RPM", "uniqueSensorID": "29.4:0x16" }, { "sensorName": "Fan5A RPM", "uniqueSensorID": "29.5:0x17" }, { "sensorName": "Fan5B RPM", "uniqueSensorID": "29.5:0x18" }, { "sensorName": "Fan6A RPM", "uniqueSensorID": "29.6:0x19" }, { "sensorName": "Fan6B RPM", "uniqueSensorID": "29.6:0x1a" }, { "sensorName": "Exhaust Temp", "uniqueSensorID": "7.1:0x1" }, { "sensorName": "Inlet Temp", "uniqueSensorID": "7.1:0x4" }, { "sensorName": "PS1", "uniqueSensorID": "10.1:0x26" }, { "sensorName": "PS2", "uniqueSensorID": "10.2:0x2c" } ], "R620": [ { "sensorName": "Fan1A RPM", "uniqueSensorID": "7.1:0x30" }, { "sensorName": "Fan1B RPM", "uniqueSensorID": "7.1:0x31" }, { "sensorName": "Fan2A RPM", "uniqueSensorID": "7.1:0x32" }, { "sensorName": "Fan2B RPM", "uniqueSensorID": "7.1:0x33" }, { "sensorName": "Fan3A RPM", "uniqueSensorID": "7.1:0x34" }, { "sensorName": "Fan3B RPM", "uniqueSensorID": "7.1:0x35" }, { "sensorName": "Fan4A RPM", "uniqueSensorID": "7.1:0x36" }, { "sensorName": "Fan4B RPM", "uniqueSensorID": "7.1:0x37" }, { "sensorName": "Fan5A RPM", "uniqueSensorID": "7.1:0x38" }, { "sensorName": "Fan5B RPM", "uniqueSensorID": "7.1:0x39" }, { "sensorName": "Fan6A RPM", "uniqueSensorID": "7.1:0x3a" }, { "sensorName": "Fan6B RPM", "uniqueSensorID": "7.1:0x3b" }, { "sensorName": "Fan7A RPM", "uniqueSensorID": "7.1:0x3c" }, { "sensorName": "Fan7B RPM", "uniqueSensorID": "7.1:0x3d" }, { "sensorName": "Exhaust Temp", "uniqueSensorID": "7.1:0x1" }, { "sensorName": "Inlet Temp", "uniqueSensorID": "7.1:0x4" }, { "sensorName": "PS1", "uniqueSensorID": "10.1:0x62" }, { "sensorName": "PS2", "uniqueSensorID": "10.2:0x63" } ], }
自版本以来的新增功能
9.6