Energy consumption statistics
DCImanager displays the amount of energy consumed by the servers and the current strength at the input of the server. To view the statistics navigate to Statistics → Energy consumption.
Power consumption
The DCImanager receives server power consumption information every hour from the power distribution unit (PDU) of the server if it is connected. Read more about the power distribution units in Adding a new PDU.
Collecting statistics on power consumption
Specify:
- Statistics type — choose "Power consumption";
- At this moment — statistics display option that was specified during the last PDU test;
- Period of time — statistics display option during the specific time period;
- Period — choosing a statistics period:
- previous day;
- current day;
- current week;
- current month;
- current year;
- previous week;
- previous month;
- previous year;
- week;
- month;
- quarter;
- half a year
- year;
- any period;
- whole period.
- Start day — the beginning of the period. The field is only available if "any period" was chosen in field Period.
- End date — the end of the period. The field is only available if "any period" was chosen in field Period;
- Equipment — a type of statistics target equipment;
- Rack — choosing the statistics target rack. The average value for all the servers in the chosen rack. The field is only available if "rack" was chosen in Equipment selector;
- Server — choosing the statistics target server. The field is only available if "server" was chosen in Equipment selector.
The amount of energy is indicated in kWh.
Current statistics report
Specific period statistics
Electric current
DCImanager receives the electric current strength information from the IPMI server, if it is connected, and statistics collection is configured. For more on IPMI, see the IPMI article.
Forming the statistical graphics
Specify:
- Statistics type — choose "Current";
- At this moment — statistics display option that was specified during the last PDU test;
- Period of time — statistics display option during a specific time period;
- Period — choosing a statistics period:
- previous day;
- current day;
- current week;
- current month;
- current year;
- previous week;
- previous month;
- previous year;
- week;
- month;
- quarter;
- half a year
- year;
- any period;
- whole period.
- Start day — the beginning of the period. The field is only available if "any period" was chosen in field Period.
- End date — the end of the period. The field is only available if "any period" was chosen in field Period;
- Equipment — a type of the statistics target equipment;
- Rack — choosing the statistics target rack. The average value for all the servers in the chosen rack. The field is only available if "rack" was chosen in Equipment;
- Server — choosing the statistics target server. The field is only available if "server" was chosen in Equipment selector.
The current strength is indicated in mA.
Electric current statistics report
How it works
By default, DCImanager doesn't collect electric current statistics, as the standard IPMI tool (ipmitool) doesn't include the needed functions.
Steps to set up the current statistics collection:
- Prepare a script for collecting the electric current statistics with IPMI.
- Specify the path to the script inside DCImanager configuration file (by default it is /usr/local/mgr5/etc/dcimgr.conf) path ipmi_stat_current_script. For example, path ipmi_stat_current_script /root/current.pl.
- DCImanager runs the sript every hour with the following parameteres: <IPMI IP-address> <IPMI user login> <IPMI user password>. For example, /root/current.pl 10.10.10.10 user password.
-
The script should return the string into STDOUT that looks like that:
Input Current: N
View details - The collected information is written into DCImanager database.