Skip to main content

GET – PowerSupplyMetrics properties

Use the GET method to retrieve properties in PowerSupplyMetrics for a server.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/PowerSubsystem/PowerSupplies/PSU{psu_id}/Metrics

Request body

None

Response body

Field

Type

Description

Id

String

Metrics

Name

String

Metrics for PSU{psu_id}

Description

String

This resource shall represent metrics for Power Supply {psu_id} of a chassis for a Redfish implementation.

InputPowerWatts

Object

Expanded.

 

DataSourceUri

String

Redfish path of sensor “PSU {psu_id}AC In Pwr”.

 

Reading

Number

Reading of sensor “PSU {psu_id} AC In Pwr”.

OutputPowerWatts

Object

Expanded.

 

DataSourceUri

String

Redfish path of sensor “PSU {psu_id} DC Out Pwr”.

 

Reading

Number

Same as the reading in “PSU {psu_id} DC Out Pwr”.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.context": "/redfish/v1/$metadata#PowerSupplyMetrics.PowerSupplyMetrics",
"@odata.etag": "\"7692B51E\"",
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1/Metrics",
"@odata.type": "#PowerSupplyMetrics.v1_0_1.PowerSupplyMetrics",
"Description": "This resource shall represent metrics for Power Supply of a chassis for a Redfish implementation.",
"Id": "Metrics",
"InputPowerWatts": {
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/power_PSU1_Input_Power",
"Reading": 524
},
"Name": "Metrics for PSU1",
"OutputPowerWatts": {
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/power_PSU1_Output_Power",
"Reading": 495
}
}