EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-06-16 01:14 AM
Hi,
Can I get the current power usage per Machine/cabinet, etc. with API?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-06-16 04:37 AM
Hello, is this an IT Advisor question?
ITA's REST api can return MEASURED_PEAK_LOAD per power device (like a PDU or Rack PDU) and items like a rack of course assuming the device has measured data.
A sample API call would look like this... where you'd substitute your server IP or hostname for "<ITA-Server>" and the asset UUID for "<AssetID>"
https://<ITA-Server>/api/v8.1/kpis/latest?asset-id=<AssetID>&type=MEASURED_PEAK_LOAD
Regards
Greg Sterling
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-06-16 04:37 AM
Hello, is this an IT Advisor question?
ITA's REST api can return MEASURED_PEAK_LOAD per power device (like a PDU or Rack PDU) and items like a rack of course assuming the device has measured data.
A sample API call would look like this... where you'd substitute your server IP or hostname for "<ITA-Server>" and the asset UUID for "<AssetID>"
https://<ITA-Server>/api/v8.1/kpis/latest?asset-id=<AssetID>&type=MEASURED_PEAK_LOAD
Regards
Greg Sterling
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-06-19 01:08 AM
it's returned values only when I took the roomId as AssetID, but when I take 'id' of the host it returns an empty answer
In detail, when I run:
(1) https://132.76.78.41/api/v8.1/assets/search?q=cn100
take the id and put it as AssetID in
(2)https://132.76.78.41/api/v8.1/kpis/latest?asset-id=7a63...&type=MEASURED_PEAK_LOAD
get nothing.
if I take from first command the roomId and put it as AssetID in the second command I get detalis
Is it working with is or only with roomid?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-06-20 05:37 AM
What type of device is cn100?
Power KPI data is not kept of all device types as only some are capable of reporting it.
Regards
Greg Sterling
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-06-20 11:37 PM
cn100 is a server in the output of the api is:
"type": "blade",
Thanks.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.