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{N}” | ||
Description | String | This resource shall represent metrics for Power Supply {N} of a chassis for a Redfish implementation. | ||
InputPowerWatts | Object | Expanded | ||
DataSourceUri | String | Redfish path of sensor “PSU {N} AC In Pwr”. | ||
Reading | Number | Reading of sensor “PSU {N} AC In Pwr”. | ||
InputVoltage | Object | Expanded | ||
DataSourceUri | String | “{SR}/Chassis/1/Sensors/PSU{N}_InputVol” | ||
Reading | Number | Same as the reading in “PSU{N}_InputVol”. | ||
OutputPowerWatts | Object | Expanded | ||
DataSourceUri | String | Redfish path of sensor “PSU {N} DC Out Pwr”. | ||
Reading | Number | Same as the reading in “PSU {N} DC Out Pwr”. | ||
RailVoltage | Array | Items: object Item count: 1 | ||
DataSourceUri | String | Redfish path of sensor “SysBrd 12V”. | ||
Reading | Number | Same as the reading in “SysBrd 12V”. | ||
Status | Object | Expanded | ||
State | String | “Enabled” | ||
Health | String | “OK” | ||
HealthRollup | String | “OK”, “Warning” or “Critical” |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.etag": "\"54041eee360d272e998\"",
"OutputPowerWatts": {
"Reading": 216,
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/95L0"
},
"Name": "Metrics for PSU1",
"@odata.type": "#PowerSupplyMetrics.v1_0_1.PowerSupplyMetrics",
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1/Metrics",
"RailVoltage": [
{
"Reading": 12.04,
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/97L0"
}
],
"@odata.context": "/redfish/v1/$metadata#PowerSupplyMetrics.PowerSupplyMetrics",
"InputPowerWatts": {
"Reading": 232,
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/93L0"
},
"InputVoltage": {
"Reading": 220,
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/PSU1_InputVol"
},
"Id": "Metrics",
"Description": "This resource shall represent metrics for Power Supply 1 of a chassis for a Redfish implementation.",
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
}
}