JSON specification for Energy monitoring RAW metrics
The PCM Raw metric for Energy monitoring URI provides the following utilization data that is fetched by the Hardware Management Console (HMC) from the Flexible Service Processor (FSP) when the EnergyMonitorEnabled parameter is enabled for a managed system.
Resource
/rest/api/pcm/ManagedSystem/[Managed System Uuid]/RawMetrics/EnergyMonitor/
LTM_[Managed System MTMS]_fsp_yyyyMMDDThhmmss+0000.json
Response
{
"timeStamp": "String",
"status": Number,
"errorInfo": [{
"errId": "String",
"errMsg": "String"
}],
"timeBasedCycles": Number,
"utilInfo": {
"version": "String",
"metricType": "String",
"monitoringType": "String",
"mtms": "String",
"name": "String"
},
"powerEnergyReading": {
"currentPowerReading": Float,
"minimumPowerReading": Float,
"maximumPowerReading": Float,
"averagePowerReading": Float,
"ipmiTimeStamp": "String",
"reportingPeriod": Number,
"powerReadingState": "String"
},
"thermalEnergyReading": {
"inletTemperatures": [{
"entityId": "String",
"entityInstance": "String",
"temperatureData": Float
}],
"cpuTemperatures": [{
"entityId": "String",
"entityInstance": "String",
"temperatureData": Float
}],
"baseboardTemperatures": [{
"entityId": "String",
"entityInstance": "String",
"temperatureData": Float
}]
}
}
The following table provides details of the metrics.
| Metric name | Description |
|---|---|
| timeStamp | Timestamp of that sample |
| status | The valid values are:
|
| errorInfo | Information about any error that occurred |
| errId | ID of the error |
| errMsg | Detailed information of the error |
| utilInfo | Information about the sample |
| Version | Version of JSON format for Energy Monitoring |
| metricType | Type of the sample. For Raw metrics, the value is Raw. |
| monitoringType | Type of the monitoring. For Raw metrics, the value is Raw. |
| name | Name of the Managed System |
| mtms | Machine Type, Model, and Serial number of the Managed System |
| powerEnergyReading | Power consumption data |
| currentPowerReading | Power consumption at the current time |
| minimumPowerReading | Minimum Power consumption for the time interval (30 seconds) |
| maximumPowerReading | Maximum Power consumption for the time interval (30 seconds) |
| averagePowerReading | Average Power consumption for the time interval (30 seconds) |
| ipmiTimeStamp | Timestamp reported by the ipmitool |
| reportingPeriod | Number of seconds for which the data is reported |
| powerReadingState | State of the Power Reading from FSP. It can be active or inactive |
| thermalEnergyReading | Data related to heat generated by the managed system |
| inletTemperatures | Generated heat data for the Inlet |
| cpuTemperatures | Generated heat data for the CPUs |
| baseboardTemperatures | Generated heat data for the Baseboards |
| entityId | The ID of the entity such as Inlet or CPU or Baseboard |
| entityInstance | Instance name of the entity like Inlet or CPU or Baseboard |
| temperatureReading | Heat generated by the entities for the time interval in Celsius |