跳到主要内容

GET – 传感器集合

使用 GET 方法检索 Redfish 服务的传感器集合中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/Sensors

请求正文

响应正文

字段

类型

描述

Name

字符串

SensorsCollection

Members

数组

项:传感器元素的引用链接

Members@odata.count

数字

传感器元素的数量

Description

字符串

“A collection of sensor resource instances.”

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

{
"@odata.context": "/redfish/v1/$metadata#SensorCollection.SensorCollection",
"@odata.etag": "\"71C3CA8A\"",
"@odata.id": "/redfish/v1/Chassis/1/Sensors",
"@odata.type": "#SensorCollection.SensorCollection",
"Description": "Collection of Sensors for this Chassis",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/airflow_System_Airflow"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/fantach_Fan1_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/fantach_Fan2_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/power_PSU1_Input_Power"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/power_PSU1_Output_Power"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/power_Sys_Fan_Power"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/power_Sys_Power"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_Ambient_Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_CPU1_DTS_TMargin"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_CPU2_DTS_TMargin"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_CPU1_Die"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_CPU2_Die"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_DIMM_1_Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_DIMM_7_Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/temperature_exhaust_temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/voltage_CMOS_Battery"
}
],
"Members@odata.count": 16,
"Name": "Sensors"
}