- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-06-16 01:14 AM
API: get power usage
Hi,
Can I get the current power usage per Machine/cabinet, etc. with API?
- Labels:
-
Data Center Operation
- Tags:
- english
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
- Tags:
- english
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
- Tags:
- english
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?
- Tags:
- english
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
- Tags:
- english
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Tags:
- english
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-25 02:01 PM
Hello,
How can one locate a type of a device using just IP via an API? I do not have GUID for thousands of devices and need to check the details like Type and Location in SW, for a report. Is there an API or efficient way that I could use which doesn't use GUID to get a device type and details?
Link copied. Please paste this link to share this article on your social media post.

