Current 1 | 6Ah | ok | 10.1 | 0.80 Amps Current 2 | 6Bh | ns | 10.2 | No Reading Voltage 1 | 6Ch | ok | 10.1 | 236 Volts Voltage 2 | 6Dh | ns | 10.2 | No Reading PwrConsumption | 77h | ok | 7.1 | 168 Watts
说明:
Fan ----表示风扇
Inlet Temp ----进口温度 Exhaust Temp ----出口温度 Temp ----CPU的温度 Current --电流 Voltage ---电压 Pwr Consumption ----功率
7.2查看传感器的类型和指定类型的数据
查看传感器有哪些类型
[root@cell83 ~]#ipmitool -I open sdr type list Sensor Types:
Temperature (0x01) Voltage (0x02) Current (0x03) Fan (0x04) Physical Security (0x05) Platform Security (0x06) Processor (0x07) Power Supply (0x08) Power Unit (0x09) Cooling Device (0x0a) Other (0x0b) Memory (0x0c) Drive Slot / Bay (0x0d) POST Memory Resize (0x0e) System Firmwares (0x0f) Event Logging Disabled (0x10)
Watchdog1 (0x11) System Event (0x12) Critical Interrupt (0x13) Button (0x14) Module / Board (0x15) Microcontroller (0x16) Add-in Card (0x17) Chassis (0x18) Chip Set (0x19) Other FRU (0x1a) Cable / Interconnect (0x1b) Terminator (0x1c) System Boot Initiated (0x1d) Boot Error (0x1e) OS Boot (0x1f) OS Critical Stop (0x20) Slot / Connector (0x21) System ACPI Power State (0x22) Watchdog2 (0x23) Platform Alert (0x24) Entity Presence (0x25) Monitor ASIC (0x26) LAN (0x27) Management Subsys Health (0x28) Battery (0x29) Session Audit (0x2a) Version Change (0x2b) FRU State (0x2c)
查看指定传感器的数据 如查看温度:
[root@cell83 ~]#ipmitool -I open sdr type Temperature Inlet Temp | 04h | ok | 7.1 | 35 degrees C Exhaust Temp | 01h | ok | 7.1 | 40 degrees C Temp | 0Eh | ok | 3.1 | 46 degrees C Temp | 0Fh | ok | 3.2 | 47 degrees C
如查看电源的个数1:有一个电源
[root@cell83 dvd]#ipmitool -I open sdr type \PS Redundancy | 74h | ns | 7.1 | No Reading
Status | 62h | ok | 10.1 | Presence detected Status | 63h | ns | 10.2 | Disabled
如查看电源的个数2:有四个电源
[root@db04 ~]#ipmitool -I open sdr type \PS Redundancy | 74h | ok | 7.1 | Redundancy Lost Status | 62h | ok | 10.1 | Presence detected
Status | 63h | ok | 10.2 | Presence detected, Power Supply AC lost Status | 52h | ok | 10.3 | Presence detected, Config Error, Power Supply Inactive
Status | 53h | ok | 10.4 | Presence detected, Config Error, Power Supply Inactive
7.3查看指定传感器的配置信息
[root@cell83 ~]#ipmitool -I open sdr get Temp Sensor ID : Temp (0xe)
Entity ID : 3.1 (Processor)
Sensor Type (Threshold) : Temperature (0x01) Sensor Reading : 47 (+/- 1) degrees C Status : ok
Nominal Reading : 23.000 Normal Minimum : 11.000 Normal Maximum : 69.000 Upper critical : 83.000 Upper non-critical : 77.000 Lower critical : 3.000 Lower non-critical : 8.000 Positive Hysteresis : 1.000 Negative Hysteresis : 1.000
Minimum sensor range : Unspecified Maximum sensor range : Unspecified
Event Message Control : Per-threshold Readable Thresholds : No Thresholds Settable Thresholds : No Thresholds Assertion Events : Assertions Enabled :
7.4查看传感器仓库sdr的配置信息
[root@cell83 ~]#ipmitool -I open sdr info SDR Version : 0x51 Record Count : 170
Free Space : 1836 bytes
Most recent Addition : 02/07/2106 06:28:15 Most recent Erase : 02/07/2106 06:28:15 SDR overflow : no SDR Repository Update Support : modal Delete SDR supported : no Partial Add SDR supported : no Reserve SDR repository supported : yes SDR Repository Alloc info supported : no
8.查看系统事件sel日志
[root@cell83 ~]#ipmitool -I open sel help
SEL Commands: info clear delete list elist get add time save readrawwriteraw interpret
8.1查看sel的状态信息
[root@cell83 ~]#ipmitool -I open sel info help SEL Information
Version : 1.5 (v1.5, v2 compliant) Entries : 740
Free Space : 4544 bytes Percent Used : 72%
Last Add Time : 08/27/2018 08:48:29 Last Del Time : 09/13/2014 11:16:12 Overflow : false
Supported Cmds : 'Reserve'
8.2查看sel的中的日志信息
ipmitool -I open sel list | elist
When this command is invoked without arguments, the entire contents of the System Event Log are displayed. If invoked as elist (extended list) it will also use the Sensor Data Record entries to display the sensor ID for the sensor that caused each event. Note this can take a long time over the system interface.
Displays the first count (least-recent) entries in the SEL. If count is zero, all entries are displayed.
last
Displays the last count (most-recent) entries in the SEL. If count is zero, all entries are displayed. 查看前5条
[root@cell83 ~]#ipmitool -I open selelist first 5 1 | 09/13/2014 | 11:16:12 | Event Logging Disabled SEL | Log area reset/cleared | Asserted
2 | 10/15/2014 | 13:42:04 | Physical Security Intrusion | General Chassis intrusion () | Asserted
3 | 10/15/2014 | 13:42:09 | Physical Security Intrusion | General Chassis intrusion () | Deasserted
4 | 10/16/2014 | 12:08:20 | Physical Security Intrusion | General Chassis intrusion () | Asserted
5 | 10/16/2014 | 12:08:49 | Physical Security Intrusion | General Chassis intrusion () | Deasserted
查看后5条
[root@cell83 ~]#ipmitool -I open selelist last 5
2e0 | 08/02/2018 | 01:45:10 | Physical Security Intrusion | General Chassis intrusion () | Deasserted
2e1 | 08/04/2018 | 04:11:34 | OS Boot | Installation started | Asserted 2e2 | 08/04/2018 | 04:21:03 | OS Boot | Installation completed | Asserted 2e3 | 08/27/2018 | 08:48:24 | Physical Security Intrusion | General Chassis intrusion () | Asserted
2e4 | 08/27/2018 | 08:48:29 | Physical Security Intrusion | General Chassis intrusion () | Deasserted