Data Center - Rack table (cmdb_ci_rack), "Rack units in use" calculation?

Mikael lindberg
Tera Contributor

Hi,

In the Data Center - Rack table (cmdb_ci_rack) there is a field called "Rack units in use"

Now I'm little confused about the calculation for this field, I cant find any?
What I understood is that you define the size(unit) of the Server on the related Server Model in the "Height (U)" filed.

And then I think it should be some logic/BR/scheduled job that will calculates "Rack units in use" data dependent of the related object to the rack. but I cant find any? or am I wrong?

6 REPLIES 6

Larry Youngqui2
Tera Contributor

I see that the class in the rollup is set to cmdb_ci_server.    We'd like to calculate all components in the rack.    Is there a recommended approach to include network devices and other appliances?     Would changing the class to cmdb_ci_hardware provide this functionality?

I am not sure about a recommended approach, but changing the class to cmdb_ci_hardware does the trick.
It also works if you put stuff in your rack that does not have a height (height is empty).
If you want to refine the type of hardware you rollup, you will need to make copies with of the rule for each class.