Get current rack utilization in units out of total rack space #7332
-
My leadership wants some insight into how many rack units we are using out of the total available rack units we have at our colo. Is this something I'll need to write a report for? Is there a simple way to access total utilized rack units out of available rack units in a report? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
We use a custom script together with the Pandas python library to generate and push an (god forbid) excel file to our intranet containing an aggregated pivot table meeting our needs. Standard export to csv was to limited, but with the power of custom script and Python libraries there is no limit. An example, we look at devices and their occupation in Rack units. As soon as they reach 47, they get an discount for a full rack, and additional units are charged separately. I spent no more than a day figuring out how to use Pandas for our specific needs. This is one way of doing it, and with alot of power! |
Beta Was this translation helpful? Give feedback.
-
If I understand your intent, I think you can still do this with export templates if you want. You'll definitely have to iterate over racks to get this info. The trick is working with what we can get; the following is based on the export template example in the docs and a glance at the available attributes on the Rack model.
Since we can get the total units in a rack ( |
Beta Was this translation helpful? Give feedback.
If I understand your intent, I think you can still do this with export templates if you want. You'll definitely have to iterate over racks to get this info. The trick is working with what we can get; the following is based on the export template example in the docs and a glance at the available attributes on the Rack model.