Unsolved
3 Posts
0
380
March 4th, 2021 23:00
OME REST API query instan power and instan temperature
Hi guys
I have some questions about the OME Rest API.
1. This API ‘/api/DeviceService/Devices(Id)/Temperature ’ will return the temperature about device,I want to know what this temperature means? Inlet temperature or BIOS temperature?
2.This API '/api/DeviceService/Devices(Id)/Power ' will return power metrics include instant power, but when I use '/api/MetricService/Metrics' I can't get the instant power and instat temperature metrics from the same device , I can get other metrics for example avg-power max-power min-power and so on. This is my resquest body
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityType": 0,
"EntityId": 10074,
"MetricTypes": [1, 2,3,4,5,6,7,8],
"Duration": 0,
"SortOrder":0
}
Thanks for any help



DELL-Erman O
Moderator
•
2.9K Posts
0
March 5th, 2021 04:00
Hello,
This URI "/api/DeviceService/Devices(Id)/Temperature" shows I guess Temperature status and threshold values of chassis. (https://www.dell.com/support/manuals/en-us/dell-openmanage-enterprise/ome-3.4_omem-1.20.00_apiguide/apideviceservicedevices(id)/temperature?guid=guid-8668a82d-ef5f-4b24-899c-70318d57350e&lang=en-us)
To use the Power Metrics section, the Power Manager plug-in must be installed. Pg 626 and pg 621 https://dell.to/3qjvwsT
I also share this page where you can find detailed information about OME Power Manager. https://dell.to/30cCtS9
Hope this will helps!