Discussion:
[Discussion] CDU watts and Measured watts
Alexander Giesler
2017-12-06 21:03:22 UTC
Permalink
Hello,

My questions are about power. I've input values for all my templates and entries, but when I look at a cabinet page the power amount is only populated in the "Computed Watts" heading of the "Cabinet Metrics" section. The "Measured Watts" area is not populated with any information (0%, in other words). The CDUs under "Power Distribution" have no values either (again, 0%).

Do these values come from an SNMP connection to the CDUs? What do I need to do to get these areas populated?

I have one more question, again about the CDUs. My CDUs have a 8.6 kW capacity, and that is reflected in the Cabinet Metrics area when I input that information. However, when I input data for my CDUs in particular, the CDUs in the Power Distribution section say they only have a maximum of 6.92 kW. What are the values that are calculated to get the max CDU power kW value? I imagine I must have input a wrong value along the way, but I would like to know how that value is calculated by openDCIM.

Thank you for your help.

Alex Giesler
Scott Milliken
2017-12-06 21:45:28 UTC
Permalink
The metered power values are populated from a cron job. The multiprocess
version of the script barfs on RHEL 7, so make sure that you use the
poll_pdu_stats.php (single process version).

The capacity for a CDU comes from the combination of the voltage, number of
poles, and the amperage. If you have incorrect capacity showing, then
yes, you have incorrect numbers. For an 8.6 kW power strip, it means that
your panel you connect to is 208V, you're using 3 poles, and it's a 30A
breaker. In the past I've seen APC labeling their power strips with the
already derated value, so if you put in 24, there's your problem. It's
really 30.

Scott
Post by Alexander Giesler
Hello,
My questions are about power. I’ve input values for all my templates and
entries, but when I look at a cabinet page the power amount is only
populated in the “Computed Watts” heading of the “Cabinet Metrics” section.
The “Measured Watts” area is not populated with any information (0%, in
other words). The CDUs under “Power Distribution” have no values either
(again, 0%).
Do these values come from an SNMP connection to the CDUs? What do I need
to do to get these areas populated?
I have one more question, again about the CDUs. My CDUs have a 8.6 kW
capacity, and that is reflected in the Cabinet Metrics area when I input
that information. However, when I input data for my CDUs in particular, the
CDUs in the Power Distribution section say they only have a maximum of 6.92
kW. What are the values that are calculated to get the max CDU power kW
value? I imagine I must have input a wrong value along the way, but I would
like to know how that value is calculated by openDCIM.
Thank you for your help.
*Alex Giesler*
_______________________________________________
Discussion mailing list
http://list.opendcim.org/mailman/listinfo/discussion
Adrian
2017-12-07 18:46:11 UTC
Permalink
Alexander

If this helps, as I had the some of the same questions as you regards the power meters.
So in the file power_panel.php is where they are drawn from.
The calculation for drawing the meters seems to be the amps x volts x square root 3.
On mine I changed this to be square root one - as I needed dc calculations.
This led me to the next bit. So in the above file, if you look for decimalplaces=0. The there is a bit that says < $panelCap. I changed that to be equal to <= $panelCap.
The meters then displayed for me, the range I was expecting. Rather than the last red zone being missing.
The final bit, is that the meters display decimal point values, e.g. 3.0, but they didn’t for me, display decimals of kilowatts when I was first experimenting wither manually defining estimated and measured loads. So I tweaked some of the variable definitions and also removed a round function. Now they seem to display what I was expecting to see.
Please post how you get on with the cron job, as I haven’t got that far yet.

Regards

Adrian

Sent from my iPad
The metered power values are populated from a cron job. The multiprocess version of the script barfs on RHEL 7, so make sure that you use the poll_pdu_stats.php (single process version).
The capacity for a CDU comes from the combination of the voltage, number of poles, and the amperage. If you have incorrect capacity showing, then yes, you have incorrect numbers. For an 8.6 kW power strip, it means that your panel you connect to is 208V, you're using 3 poles, and it's a 30A breaker. In the past I've seen APC labeling their power strips with the already derated value, so if you put in 24, there's your problem. It's really 30.
Scott
Post by Alexander Giesler
Hello,
My questions are about power. I’ve input values for all my templates and entries, but when I look at a cabinet page the power amount is only populated in the “Computed Watts” heading of the “Cabinet Metrics” section. The “Measured Watts” area is not populated with any information (0%, in other words). The CDUs under “Power Distribution” have no values either (again, 0%).
Do these values come from an SNMP connection to the CDUs? What do I need to do to get these areas populated?
I have one more question, again about the CDUs. My CDUs have a 8.6 kW capacity, and that is reflected in the Cabinet Metrics area when I input that information. However, when I input data for my CDUs in particular, the CDUs in the Power Distribution section say they only have a maximum of 6.92 kW. What are the values that are calculated to get the max CDU power kW value? I imagine I must have input a wrong value along the way, but I would like to know how that value is calculated by openDCIM.
Thank you for your help.
Alex Giesler
_______________________________________________
Discussion mailing list
http://list.opendcim.org/mailman/listinfo/discussion
_______________________________________________
Discussion mailing list
http://list.opendcim.org/mailman/listinfo/discussion
Loading...