Ipmitool is a utility for managing and configuring devices that support the Intelligent Platform Management Interface.
IPMI is an open standard for monitoring, logging, recovery, inventory, and control of hardware that is implemented independent of the main CPU, BIOS, and OS. The service processor (or Baseboard Management Controller, BMC) is the brain behind platform management and its primary purpose is to handle the autonomous sensor monitoring and event logging features.
The ipmitool program provides a simple command-line interface to BMC. It features the ability to read the sensor data repository (SDR) and print sensor values, display the contents of the System Event Log (SEL), print Field Replaceable Unit (FRU) inventory information, read and set LAN configuration parameters, and perform remote chassis power control.
This "Swiss Army Knive" is also supported by Check Point GAIA.
Here are a few interesting examples:
# ipmitool sensor list
# ipmitool fru -> power supply info
# ipmitool sdr elist full -> electrical information (3.3V, 5V, 12V)
# ipmitool sdr type temperature -> temperature
# ipmitool sdr entity 29 -> fan speed
# ipmitool sdr type "Power Supply" -> lost power on power supply xyz
# ipmitool chassis status ipmitool chassis identify
Be careful with these CLI commands:
# ipmitool [chassis] power soft -> initiate a soft-shutdown via acpi
# ipmitool [chassis] power cycle -> issue a hard power off, wait 1s, power on
# ipmitool [chassis] power off -> issue a hard power off
# ipmitool [chassis] power reset -> issue a hard reset
➜ CCSM Elite, CCME, CCTE