IPMI
$ ipmitool raw 0x0a 0x10 0x00
ff 00 00
$ ipmitool fru
$ ipmtool fru print 0x00
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.
# ipmitool chassis status
System Power : on
Power Overload : false
Power Interlock : inactive
Main Power Fault : false
Power Control Fault : false
Power Restore Policy : previous
Last Power Event : command
Chassis Intrusion : inactive
Front-Panel Lockout : inactive
Drive Fault : false
Cooling/Fan Fault : false
# ipmitool sel elist | more
1 | Pre-Init Time-stamp | Power Supply VRM Status | Presence detected | Asserted
2 | Pre-Init Time-stamp | Power Supply VRM Status | Presence detected | Asserted
3 | Pre-Init Time-stamp | Power Unit Sys pwr monitor | Power off/down | Deasserted
# ipmitool sensor list
Ambient Temp | 22.000 | degrees C | ok | na | na | na | 38.000 | 41.000 | 45.000
AVG Power | 300.000 | Watts | ok | na | na | na | na | na | na
Fan 1 Tach | 4125.000 | RPM | ok | na | 750.000 | na | na | na | na
General command to get chassis status via remote:
ipmitool -H $host -U user -P<password> chassis status