GET – 散热管理属性
使用 GET 方法检索服务器的 Thermal 资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/Thermal
请求正文
无
响应正文
响应是包含以下参数的 JSON 对象:
| 字段 | 类型 | 描述 | ||||
|---|---|---|---|---|---|---|
Id  | 字符串 | 唯一标识散热资源中的资源。始终设置为“1”。 | ||||
Name  | 字符串 | 散热资源的名称。始终设置为“Thermal”。 | ||||
Description  | 字符串 | 提供散热资源的描述。 | ||||
Status  | 对象 | 描述资源及其子项的状态和运行状况。 | ||||
State  | 字符串 | 指示资源的已知状态,例如是否已启用。 | ||||
HealthRollup  | 字符串 | 表示此资源的视图中的总体运行状况状态。 | ||||
Temperatures  | 数组 | 这是温度传感器的定义。 | ||||
Temperatures[1]  | 对象 | 这是指定的温度传感器的定义。 | ||||
MemberId  | 字符串 | 这是集合中成员的标识符。 | ||||
Name  | 字符串 | 此温度传感器的名称。 | ||||
LowerThresholdCritical  | 数字 | 低于正常范围,但尚未达到致命程度。 | ||||
LowerThresholdFatal  | 数字 | 低于正常范围,且达到致命程度。 | ||||
LowerThresholdNonCritical  | 数字 | 低于正常范围。 | ||||
UpperThresholdCritical  | 数字 | 高于正常范围,但尚未达到致命程度。 | ||||
UpperThresholdFatal  | 数字 | 高于正常范围,且达到致命程度。 | ||||
UpperThresholdNonCritical  | 数字 | 高于正常范围。 | ||||
MinReadingRangeTemp  | 数字 | ReadingCelsius 的最小值。 | ||||
MaxReadingRangeTemp  | 数字 | ReadingCelsius 的最大值。 | ||||
PhysicalContext  | 字符串 | 描述此温度测量适用的区域或设备。 | ||||
ReadingCelsius  | 数字 | 温度。 | ||||
RelatedItem  | 数组 | 描述此温度测量适用的区域或设备。 | ||||
RelatedItem[N]  | 链接 | 数组的元素提供适用设备的链接。一个元素链接到机箱资源。一个元素链接到系统资源。 如果 PhysicalContext 为“CPU”,该数组会包含相关处理器资源的元素链接。  | ||||
SensorNumber  | 数字 | 用于表示温度传感器的数字标识符。 | ||||
Status  | 对象 | 描述资源及其子项的状态和运行状况。 | ||||
State  | 字符串 | 指示资源的已知状态,例如是否已启用。 | ||||
Fans  | 数组 | 这是风扇的定义。 | ||||
Fan[N]  | 对象 | 这是指定风扇的定义。 | ||||
MemberId  | 字符串 | 这是集合中成员的标识符。 | ||||
Name  | 字符串 | 风扇的名称。 | ||||
MaxReadingRange  | 数字 | Reading 的最大值。 | ||||
MinReadingRange  | 数字 | Reading 的最小值。 | ||||
PhysicalContext  | 字符串 | 描述与此风扇关联的区域或设备。 | ||||
Reading  | 数字 | 当前风扇速度。 | ||||
ReadingUnits  | 字符串 | 读数和阈值的度量单位。始终设置为“RPM”。 | ||||
RelatedItem  | 数组 | 描述此温度测量适用的区域或设备。 | ||||
RelatedItem[N]  | 链接 | 数组的元素提供适用设备的链接。一个元素链接到机箱资源。一个元素链接到系统资源。 | ||||
Status  | 对象 | 描述资源及其子项的状态和运行状况。 | ||||
State  | 字符串 | 指示资源的已知状态,例如是否已启用。 | ||||
Health  | 字符串 | 表示此资源在没有依赖资源的情况下的运行状况状态。 | ||||
UpperThresholdCritical  | 数字 | 高于正常范围,但尚未达到致命程度。 | ||||
UpperThresholdFatal  | 数字 | 高于正常范围,且达到致命程度。 | ||||
UpperThresholdNonCritical  | 数字 | 高于正常范围。 | ||||
LowerThresholdCritical  | 数字 | 低于正常范围,但尚未达到致命程度。 | ||||
LowerThresholdFatal  | 数字 | 低于正常范围,且达到致命程度。 | ||||
LowerThresholdNonCritical  | 数字 | 低于正常范围。 | ||||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
返回以下示例 JSON 响应:
{
    "Fans": [
        {
            "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Fans/0",
            "ReadingUnits": "RPM",
            "PhysicalContext": "SystemBoard",
            "LowerThresholdFatal": null,
            "Location": {
                "PartLocation": {
                    "LocationType": "Slot",
                    "ServiceLabel": "Fan 1 Tach",
                    "LocationOrdinalValue": 1
                }
            },
            "UpperThresholdCritical": null,
            "MaxReadingRange": 18360,
            "RelatedItem": [
                {
                    "@odata.id": "/redfish/v1/Systems/1"
                },
                {
                    "@odata.id": "/redfish/v1/Chassis/1"
                }
            ],
            "LowerThresholdCritical": 3,
            "Status": {
                "State": "Enabled",
                "Health": "OK"
            },
            "FanName": "Fan 1 Tach",
            "Name": "Fan 1 Tach",
            "Reading": 0,
            "UpperThresholdNonCritical": null,
            "Oem": {
                "Lenovo": {
                    "Location": {
                        "InfoFormat@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead.",
                        "InfoFormat": "Slot X",
                        "Info": "Slot 1",
                        "Info@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead."
                    }
                }
            },
            "HotPluggable": true,
            "MinReadingRange": 0,
            "MemberId": "0",
            "LowerThresholdNonCritical": null,
            "SensorNumber": 65,
            "UpperThresholdFatal": null
        }
        …
        …
    ],
    "@odata.id": "/redfish/v1/Chassis/1/Thermal",
    "Status": {
        "State": "Enabled",
        "HealthRollup": "OK"
    },
    "Name": "Thermal",
    "Id": "1",
    "Oem": {
        "Lenovo": {
            "@odata.type": "#LenovoThermal.v1_0_0.Thermal",
            "HistoryTempMetric": {
                "@odata.id": "/redfish/v1/Chassis/1/Thermal/Oem/Lenovo/HistoryTempMetric"
            }
        }
    },
    "@odata.type": "#Thermal.v1_5_3.Thermal",
    "Temperatures": [
        {
            "PhysicalContext": "Intake",
            "LowerThresholdCritical": null,
            "RelatedItem": [
                {
                    "@odata.id": "/redfish/v1/Systems/1"
                },
                {
                    "@odata.id": "/redfish/v1/Chassis/1"
                }
            ],
            "UpperThresholdFatal": 50,
            "Status": {
                "State": "Enabled"
            },
            "SensorNumber": 49,
            "Name": "Ambient Temp",
            "MaxReadingRangeTemp": 100,
            "UpperThresholdNonCritical": 43,
            "UpperThresholdCritical": 47,
            "LowerThresholdNonCritical": null,
            "MemberId": "0",
            "@odata.id": "/redfish/v1/Chassis/1/Thermal#/Temperatures/0",
            "MinReadingRangeTemp": 0,
            "LowerThresholdFatal": null,
            "ReadingCelsius": 43
        }
        …
        …
    ],
    "Temperatures@odata.count": 40,
    "@odata.etag": "\"d605f76ecfe4632cb9e370\"",
    "Fans@odata.count": 5,
    "Description": "It represents the properties for Temperature and Cooling."
}
提供反馈