Replies: 1 comment 2 replies
-
The power calculation functionality in Netbox is not well documented. I had a go at reverse engineering it here: #12837. IIRC, rack level calculations only take into account power feeds assigned to that rack. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all. I was debating filing this as a bug but not sure it was ever the intended behavior affter looking at the code.
I have the following Power Chain:
a. Input (Power Ports): 1 3P+E 9H cable. Maximum Power Draw 9984W (208V @ 48A), Allocation of 0W.
b. Output (Power Outlets): 20 C13, 12 C19
They are all cabled correctly (dashes indicate a component of the device/object).
Device: Dell R650 - PSU1 (Alloc 330W) -> Device: PDU BM49 Left - B1/1 (Alloc 0W) -> Feed: BFM 49 F1 -> Panel: UPS C
On the PDU Device "PDU BM49 Left" under the Power Utilization block, it says "Input: Input 1, Allocated: 0VA, Available: 14410VA"
Am I doing this right? Seems like the code only cares about input (Power Port Allocations, which consider the PDU as a whole). But I'd much prefer that it be a sum of all the Power Outlets, that way if I change the location of a server or device, it automatically updates and I don't have to do the math in my head. "Was 6000W, moved two 330W devices, so manually update the PDU to be allocated 5340W now."
This also affects things at the rack level. The rack currently reports 0.0%, whereas if Netbox were looking at devices, it would be 2.75% (330W / 1200W)
Beta Was this translation helpful? Give feedback.
All reactions