Ipmi Tools For Debian

Module laden:

[root@crmsrv /]# modprobe ipmi_si
[root@crmsrv /]# modprobe ipmi_devintf

Geladene Module anzeigen:

[root@crmsrv /]# lsmod | grep ipmi

Ausgabe sollte so ähnlich aussehen:

ipmi_devintf            9320  0
ipmi_si                34572  0
ipmi_msghandler        32288  2 ipmi_devintf,ipmi_si

IPMI-Tool installieren:

[root@crmsrv /]# apt-get install ipmitool

Sensoren auslesen:

[root@crmsrv /]# ipmitool -I open sdr list

Ausgabe sollte so ähnlich aussehen:

BB +1.1V IOH     | 1.08 Volts        | ok
BB +1.1V P1 Vccp | 1.13 Volts        | ok
BB +1.1V P2 Vccp | 1.15 Volts        | ok
BB +1.5V P1 DDR3 | 1.52 Volts        | ok
BB +1.5V P2 DDR3 | 1.52 Volts        | ok
BB +1.8V AUX     | 1.77 Volts        | ok
BB +3.3V         | 3.30 Volts        | ok
BB +3.3V STBY    | 3.32 Volts        | ok
BB Vbat          | 2.98 Volts        | ok
BB +5.0V         | 4.99 Volts        | ok
BB +5.0V STBY    | 5.08 Volts        | ok
BB +12.0V        | 11.94 Volts       | ok
BB -12.0V        | -11.75 Volts      | ok
BB +1.35V P1 MEM | disabled          | ns
BB +1.35V P2 MEM | disabled          | ns
Baseboard Temp   | 34 degrees C      | ok
IOH Therm Margin | -40 degrees C     | ok
Mem P1 Thrm Mrgn | -29 degrees C     | ok
Mem P2 Thrm Mrgn | -37 degrees C     | ok
Processor 2 Fan  | 6944 RPM          | ok
Processor 1 Fan  | 6944 RPM          | ok
P1 Therm Margin  | -54 degrees C     | ok
P2 Therm Margin  | -60 degrees C     | ok
P1 Therm Ctrl %  | 0 unspecified     | ok
P2 Therm Ctrl %  | 0 unspecified     | ok
Pwr Unit Status  | 0x00              | ok
IPMI Watchdog    | 0x00              | ok
Physical Scrty   | 0x00              | ok
SMI TimeOut      | 0x00              | ok
System Event Log | 0x00              | ok
System Event     | 0x00              | ok
P1 Status        | 0x80              | ok
P2 Status        | 0x80              | ok
P1 VRD Hot       | 0x00              | ok
P2 VRD Hot       | 0x00              | ok
CATERR           | 0x00              | ok
CPU Missing      | 0x00              | ok
IOH Thermal Trip | 0x00              | ok
Button           | 0x00              | ok
NM Capabilities  | 0x00              | ok

Sensoren für Baseboard Temp auslesen:

[root@crmsrv /]# ipmitool -I open sdr get 'Baseboard Temp'

Ausgabe:

Sensor ID              : Baseboard Temp (0x20)
 Entity ID             : 7.17 (System Board)
 Sensor Type (Analog)  : Temperature
 Sensor Reading        : 34 (+/- 1.500) degrees C
 Status                : ok
 Nominal Reading       : 45.000
 Normal Minimum        : 20.000
 Normal Maximum        : 70.000
 Upper critical        : 84.000
 Upper non-critical    : 77.000
 Lower critical        : 5.000
 Lower non-critical    : 10.000
 Positive Hysteresis   : 4.000
 Negative Hysteresis   : 4.000
 Minimum sensor range  : Unspecified
 Maximum sensor range  : Unspecified
 Event Message Control : Per-threshold
 Readable Thresholds   : lcr lnc unc ucr 
 Settable Thresholds   : lcr lnc unc ucr 
 Threshold Read Mask   : lcr lnc unc ucr 
 Assertion Events      : 
 Assertions Enabled    : lnc- lcr- unc+ ucr+ 
 Deassertions Enabled  : lnc- lcr- unc+ ucr+ 

Wenn das alles nicht funktioniert, dann bitte folgendes probieren:

[root@crmsrv /]# cd /usr/src

Herunterladen:

wget http://ftp.de.debian.org/debian/pool/main/t/texinfo/install-info_4.13a.dfsg.1-6_amd64.deb \
     http://ftp.de.debian.org/debian/pool/main/f/freeipmi/freeipmi-common_0.7.17~beta2-1_all.deb \
     http://ftp.de.debian.org/debian/pool/main/libg/libgpg-error/libgpg-error0_1.6-1_amd64.deb \
     http://ftp.de.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.4.5-2_amd64.deb \
     http://ftp.de.debian.org/debian/pool/main/f/freeipmi/libfreeipmi6_0.7.17~beta2-1_amd64.deb \
     http://ftp.de.debian.org/debian/pool/main/f/freeipmi/libipmiconsole2_0.7.17~beta2-1_amd64.deb \
     http://ftp.de.debian.org/debian/pool/main/f/freeipmi/libipmidetect0_0.7.17~beta2-1_amd64.deb \
     http://ftp.de.debian.org/debian/pool/main/f/freeipmi/libipmimonitoring1_0.7.17~beta2-1_amd64.deb \
     http://ftp.de.debian.org/debian/pool/main/f/freeipmi/freeipmi-tools_0.7.17~beta2-1_amd64.deb

Installieren:

dpkg -i install-info_4.13a.dfsg.1-6_amd64.deb freeipmi-common_0.7.17~beta2-1_all.deb \
        libgpg-error0_1.6-1_amd64.deb libgcrypt11_1.4.5-2_amd64.deb libfreeipmi6_0.7.17~beta2-1_amd64.deb \
        libipmiconsole2_0.7.17~beta2-1_amd64.deb libipmidetect0_0.7.17~beta2-1_amd64.deb \
        libipmimonitoring1_0.7.17~beta2-1_amd64.deb freeipmi-tools_0.7.17~beta2-1_amd64.deb

und ausprobieren:

[root@crmsrv /]# ipmi-sensors

Ausgabe:

1: BB +1.2V Vtt (Voltage): 1.20 V (1.10/1.32): [OK]
2: BB +1.5V AUX (Voltage): 1.47 V (1.33/1.67): [OK]
3: BB +1.5V (Voltage): 1.48 V (1.33/1.68): [OK]
4: BB +1.8V (Voltage): 1.79 V (1.62/1.97): [OK]
5: BB +3.3V (Voltage): 3.34 V (2.94/3.68): [OK]
6: BB +3.3V STB (Voltage): 3.35 V (3.03/3.61): [OK]
7: BB +1.5V ESB (Voltage): 1.51 V (1.36/1.64): [OK]
8: BB +5V (Voltage): 5.04 V (4.45/5.56): [OK]
9: BB +12V AUX (Voltage): 11.90 V (10.42/13.58): [OK]
10: BB +0.9V (Voltage): 0.90 V (0.81/0.98): [OK]
11: Serverboard Temp (Temperature): 40.00 C (5.00/66.00): [OK]
12: Ctrl Panel Temp (Temperature): 32.00 C (0.00/48.00): [OK]
13: Fan 1 (Fan): 8213.00 RPM (1720.00/NA): [OK]
14: Fan 2 (Fan): 8729.00 RPM (1720.00/NA): [OK]
15: Fan 3 (Fan): 7826.00 RPM (1720.00/NA): [OK]
16: Fan 4 (Fan): 8858.00 RPM (1720.00/NA): [OK]
17: Fan 5 (Fan): 9610.00 RPM (2046.00/NA): [OK]
18: Fan 6 (Fan): 9362.00 RPM (2046.00/NA): [OK]
19: PS1 AC Current (Current): 0.81 A (NA/11.90): [OK]
20: PS2 AC Current (Current): 0.74 A (NA/11.90): [OK]
21: PS1 +12V Current (Current): 13.00 A (NA/70.00): [OK]
22: PS2 +12V Current (Current): 13.00 A (NA/70.00): [OK]
23: PS1 +12V Power (Other Units Based Sensor): 152.00 W (NA/840.00): [OK]
24: PS2 +12V Power (Other Units Based Sensor): 152.00 W (NA/840.00): [OK]
25: P1 Therm Margin (Temperature): -44.00 C (NA/NA): [OK]
26: P2 Therm Margin (Temperature): -43.00 C (NA/NA): [OK]
27: P1B Therm Margin (Temperature): -47.00 C (NA/NA): [OK]
28: P2B Therm Margin (Temperature): -46.00 C (NA/NA): [OK]
29: P1 Therm Ctrl % (Temperature): 0.00 unspecified (NA/49.53): [OK]
30: P2 Therm Ctrl % (Temperature): 0.00 unspecified (NA/49.53): [OK]
31: Proc 1 Vccp (Voltage): 1.25 V (NA/NA): [OK]
32: Proc 2 Vccp (Voltage): 1.21 V (NA/NA): [OK]
33: Mem Therm Margin (Temperature): -37.00 C (NA/8.00): [OK]
34: Pwr Unit Stat (Power Unit): [OK]
35: Power Redundancy (Power Unit): [Fully Redundant]
36: BMC Watchdog (Watchdog 2): [OK]
37: Platform Secu V (Platform Security Violation Attempt): [OK]
38: Physical Scrty (Physical Security): [OK]
39: FP Interrupt (Critical Interrupt): [OK]
40: Event Log Disabl (Event Logging Disabled): [OK]
41: Session Audit (Session Audit): [OK]
42: System Event (System Event): [OK]
43: BB Vbat (Battery): [OK]
44: Fan 1 Present (Fan): [Device Inserted/Device Present]
45: Fan 2 Present (Fan): [Device Inserted/Device Present]
46: Fan 3 Present (Fan): [Device Inserted/Device Present]
47: Fan 4 Present (Fan): [Device Inserted/Device Present]
48: Fan 5 Present (Fan): [Device Inserted/Device Present]
49: Fan 6 Present (Fan): [Device Inserted/Device Present]
50: Fan Redundancy (Fan): [Fully Redundant]
51: PS1 Status (Power Supply): [Presence detected]
52: PS2 Status (Power Supply): [Presence detected]
53: ACPI State (System ACPI Power State): [S0/G0]
54: Button (Button/Switch): [OK]
55: SMI Timeout (OEM Reserved): [OK]
56: NMI State (OEM Reserved): [OK]
57: SMI State (OEM Reserved): [NA]
58: Processor 1 Stat (Processor): [Processor Presence detected]
59: Processor 2 Stat (Processor): [Processor Presence detected]
60: PCIe Link0 (Critical Interrupt): [OK]
61: PCIe Link1 (Critical Interrupt): [OK]
62: PCIe Link2 (Critical Interrupt): [OK]
63: PCIe Link3 (Critical Interrupt): [OK]
64: PCIe Link4 (Critical Interrupt): [OK]
65: PCIe Link5 (Critical Interrupt): [OK]
66: PCIe Link6 (Critical Interrupt): [OK]
67: PCIe Link7 (Critical Interrupt): [OK]
68: PCIe Link8 (Critical Interrupt): [OK]
69: PCIe Link9 (Critical Interrupt): [OK]
70: PCIe Link10 (Critical Interrupt): [OK]
71: PCIe Link11 (Critical Interrupt): [OK]
72: PCIe Link12 (Critical Interrupt): [OK]
73: PCIe Link13 (Critical Interrupt): [OK]
74: CPU1 VRD Temp (Temperature): [OK]
75: CPU2 VRD Temp (Temperature): [OK]
76: CPU1 Vcc OOR (Voltage): [OK]
77: CPU2 Vcc OOR (Voltage): [OK]
78: CPU Popul Error (Processor): [OK]
79: DIMM 1A (Slot/Connector): [Slot/Connector Device installed/attached]
80: DIMM 2A (Slot/Connector): [Slot/Connector Device installed/attached]
81: DIMM 1B (Slot/Connector): [Slot/Connector Device installed/attached]
82: DIMM 2B (Slot/Connector): [Slot/Connector Device installed/attached]
83: DIMM 1C (Slot/Connector): [Slot/Connector Device installed/attached]
84: DIMM 2C (Slot/Connector): [Slot/Connector Device installed/attached]
85: DIMM 1D (Slot/Connector): [Slot/Connector Device installed/attached]
86: DIMM 2D (Slot/Connector): [Slot/Connector Device installed/attached]
87: DIMM Spar Enb1 (Entity Presence): [NA]
88: DIMM Spar Redu1 (Memory): [NA]
89: DIMM Spar Enb2 (Entity Presence): [NA]
90: DIMM Spar Redu2 (Memory): [NA]
91: DIMM Mirro Enbl (Entity Presence): [NA]
92: DIMM MirroRedu1 (Memory): [NA]
139: HSBP Temp (Temperature): NA (NA/NA): [NA]
140: Drv 1 Stat (Drive Slot): [NA]
141: Drv 2 Stat (Drive Slot): [NA]
142: Drv 3 Stat (Drive Slot): [NA]
143: Drv 4 Stat (Drive Slot): [NA]
144: Drv 5 Stat (Drive Slot): [NA]
145: Drv 6 Stat (Drive Slot): [NA]
146: Drv 1 Pres (Drive Slot): [NA]
147: Drv 2 Pres (Drive Slot): [NA]
148: Drv 3 Pres (Drive Slot): [NA]
149: Drv 4 Pres (Drive Slot): [NA]
150: Drv 5 Pres (Drive Slot): [NA]
151: Drv 6 Pres (Drive Slot): [NA]