Skip to main content

GET – Collection of Sensors

Use the GET method to retrieve properties in sensor collection for Redfish service.

Request URL

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

Request body

None

Response body

Field

Type

Description

Name

String

SensorsCollection

Members

Array

Items: A reference link to an element of sensors

Members@odata.count

Number

The number of sensor elements

Description

String

A collection of sensor resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

{
"@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"
}