Skip to content

IPMI Power Consumption

Information

The power consumption feature provides:

  • Power consumption monitoring in Watts
  • Energy consumption tracking in kWh
  • Historical power consumption graphs
  • Monthly and daily breakdown statistics
  • Coverage metrics showing data availability
  • Minimum, maximum, and average power readings

IPMI provides instantaneous power readings in Watts only. Tenantos calculates kWh by integrating these Watt readings over time.

Note that IPMI power readings may not be as accurate as those from a PDU. Tenantos simply collects and uses the data reported by IPMI.

Power consumption data is collected automatically by background jobs. The power usage is recorded every 10 minutes.

Requirements

To use the power consumption monitoring feature, the following requirements must be met:

  • The IPMI connection must have the feature "Power Usage Measurement" enabled.
  • The IPMI device must provide power consumption readings.
  • Users must have View Server Power Consumption Statistics permission to see the statistics.

To enable the power consumption feature for all IPMI connections, please refer to this section.

Available Graphs

Two types of graphs are available on the server statistics page. A "Breakdown" statistic is also available, showing monthly usage.

Power Consumption (Watts)

This graph displays the instantaneous power consumption over time. It shows:

  • Current power usage in Watts
  • Power consumption trends
  • Peak power usage periods

Energy Consumption (kWh)

This graph displays the calculated energy consumption. It shows:

  • Total energy usage in kWh
  • Energy consumption over different periods

Data Coverage and Gaps

The system tracks data coverage to ensure accurate energy calculations:

  • Coverage Percentage: Indicates how much of the time period has data
  • Max Gap Duration: Gaps longer than 2 hours are excluded from kWh calculations
  • Gap Handling: The system automatically detects and handles data gaps when calculating energy consumption

If coverage is low, this may indicate:

  • IPMI connection issues
  • Remote agent connectivity problems
  • Server being powered off
  • IPMI not responding to DCMI commands

Manual Collection

Tenantos Administrators can trigger manual power consumption collection using the CLI command:

app collectors:ipmi

This command is useful for:

  • Testing IPMI connectivity for power readings
  • Immediate data updates
  • Troubleshooting collection issues

Enabling or Disabling the Power Usage Measurement Feature for all Servers

A CLI tool is available to enable or disable the "Power Usage Measurement" feature for all servers that have a valid IPMI connection assignment.

To enable the feature for all IPMI connections, execute the following command via SSH:

app powerConsumption:setCollectionFlag ipmi enable

To disable the feature for all IPMI connections, execute the following command via SSH:

app powerConsumption:setCollectionFlag ipmi disable

Screenshots

Power Consumption Graph