FreeIPMI ipmi-sensors

Aus Thomas-Krenn-Wiki
Wechseln zu: Navigation, Suche

FreeIPMI bietet mit ipmi-sensors ein Kommando zur Überwachung von IPMI Sensoren.

In diesem Artikel zeigen wir einige Optionen von ipmi-sensors.

Beispielausgaben FreeIPMI 1.1.1

ipmi-sensors -V

root@ubuntu-11-10:~# ipmi-sensors -V
ipmi-sensors - 1.1.1
Copyright (C) 2003-2012 FreeIPMI Core Team
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

ipmi-sensors

root@ubuntu-11-10:~# ipmi-sensors
ID   | Name          | Type              | Reading    | Units | Event
4    | System Temp   | Temperature       | 37.00      | C     | 'OK'
71   | CPU Temp      | OEM Reserved      | N/A        | N/A   | 'OEM Event = 0000h'
138  | FAN 1         | Fan               | 1755.00    | RPM   | 'OK'
205  | FAN 2         | Fan               | N/A        | RPM   | N/A
272  | FAN 3         | Fan               | N/A        | RPM   | N/A
339  | FAN 4         | Fan               | N/A        | RPM   | N/A
406  | FAN A         | Fan               | N/A        | RPM   | N/A
473  | Vcore         | Voltage           | 0.70       | V     | 'OK'
540  | 3.3VCC        | Voltage           | 3.36       | V     | 'OK'
607  | 12V           | Voltage           | 11.93      | V     | 'OK'
674  | VDIMM         | Voltage           | 1.53       | V     | 'OK'
741  | 5VCC          | Voltage           | 5.09       | V     | 'OK'
808  | -12V          | Voltage           | -12.09     | V     | 'OK'
875  | VBAT          | Voltage           | 3.04       | V     | 'OK'
942  | VSB           | Voltage           | 3.34       | V     | 'OK'
1009 | AVCC          | Voltage           | 3.38       | V     | 'OK'
1076 | Chassis Intru | Physical Security | N/A        | N/A   | 'OK'
1143 | PS Status     | Power Supply      | N/A        | N/A   | 'Presence detected' 'Unrecognized Event = 0100h' 'Unrecognized Event = 0200h' 'Unrecognized Event = 0400h' 'Unrecognized Event = 0800h' 'Unrecognized Event = 1000h' 'Unrecognized Event = 2000h' 'Unrecognized Event = 4000h'

ipmi-sensors --output-sensor-state

root@ubuntu-11-10:~# ipmi-sensors --output-sensor-state
ID   | Name          | Type              | State    | Reading    | Units | Event
4    | System Temp   | Temperature       | Nominal  | 37.00      | C     | 'OK'
71   | CPU Temp      | OEM Reserved      | N/A      | N/A        | N/A   | 'OEM Event = 0000h'
138  | FAN 1         | Fan               | Nominal  | 1755.00    | RPM   | 'OK'
205  | FAN 2         | Fan               | N/A      | N/A        | RPM   | N/A
272  | FAN 3         | Fan               | N/A      | N/A        | RPM   | N/A
339  | FAN 4         | Fan               | N/A      | N/A        | RPM   | N/A
406  | FAN A         | Fan               | N/A      | N/A        | RPM   | N/A
473  | Vcore         | Voltage           | Nominal  | 0.74       | V     | 'OK'
540  | 3.3VCC        | Voltage           | Nominal  | 3.36       | V     | 'OK'
607  | 12V           | Voltage           | Nominal  | 11.93      | V     | 'OK'
674  | VDIMM         | Voltage           | Nominal  | 1.53       | V     | 'OK'
741  | 5VCC          | Voltage           | Nominal  | 5.09       | V     | 'OK'
808  | -12V          | Voltage           | Nominal  | -12.09     | V     | 'OK'
875  | VBAT          | Voltage           | Nominal  | 3.04       | V     | 'OK'
942  | VSB           | Voltage           | Nominal  | 3.34       | V     | 'OK'
1009 | AVCC          | Voltage           | Nominal  | 3.38       | V     | 'OK'
1076 | Chassis Intru | Physical Security | Nominal  | N/A        | N/A   | 'OK'
1143 | PS Status     | Power Supply      | N/A      | N/A        | N/A   | 'Presence detected' 'Unrecognized Event = 0100h' 'Unrecognized Event = 0200h' 'Unrecognized Event = 0400h' 'Unrecognized Event = 0800h' 'Unrecognized Event = 1000h' 'Unrecognized Event = 2000h' 'Unrecognized Event = 4000h'

ipmi-sensors --ignore-unrecognized-events

root@ubuntu-11-10:~# ipmi-sensors --ignore-unrecognized-events
ID   | Name          | Type              | Reading    | Units | Event
4    | System Temp   | Temperature       | 37.00      | C     | 'OK'
71   | CPU Temp      | OEM Reserved      | N/A        | N/A   | 'OEM Event = 0000h'
138  | FAN 1         | Fan               | 1755.00    | RPM   | 'OK'
205  | FAN 2         | Fan               | N/A        | RPM   | N/A
272  | FAN 3         | Fan               | N/A        | RPM   | N/A
339  | FAN 4         | Fan               | N/A        | RPM   | N/A
406  | FAN A         | Fan               | N/A        | RPM   | N/A
473  | Vcore         | Voltage           | 0.71       | V     | 'OK'
540  | 3.3VCC        | Voltage           | 3.36       | V     | 'OK'
607  | 12V           | Voltage           | 11.93      | V     | 'OK'
674  | VDIMM         | Voltage           | 1.52       | V     | 'OK'
741  | 5VCC          | Voltage           | 5.09       | V     | 'OK'
808  | -12V          | Voltage           | -12.09     | V     | 'OK'
875  | VBAT          | Voltage           | 3.04       | V     | 'OK'
942  | VSB           | Voltage           | 3.34       | V     | 'OK'
1009 | AVCC          | Voltage           | 3.38       | V     | 'OK'
1076 | Chassis Intru | Physical Security | N/A        | N/A   | 'OK'
1143 | PS Status     | Power Supply      | N/A        | N/A   | 'Presence detected'

ipmi-sensors --entity-sensor-names

root@ubuntu-11-10:~# ipmi-sensors --entity-sensor-names
ID   | Name                         | Type              | Reading    | Units | Event
4    | System Board System Temp     | Temperature       | 37.00      | C     | 'OK'
71   | Processor CPU Temp           | OEM Reserved      | N/A        | N/A   | 'OEM Event = 0000h'
138  | Fan 1 FAN 1                  | Fan               | 1755.00    | RPM   | 'OK'
205  | Fan 2 FAN 2                  | Fan               | N/A        | RPM   | N/A
272  | Fan 3 FAN 3                  | Fan               | N/A        | RPM   | N/A
339  | Fan 4 FAN 4                  | Fan               | N/A        | RPM   | N/A
406  | Fan 5 FAN A                  | Fan               | N/A        | RPM   | N/A
473  | Processor Vcore              | Voltage           | 0.74       | V     | 'OK'
540  | System Board 3.3VCC          | Voltage           | 3.36       | V     | 'OK'
607  | System Board 12V             | Voltage           | 11.93      | V     | 'OK'
674  | System Board VDIMM           | Voltage           | 1.53       | V     | 'OK'
741  | System Board 5VCC            | Voltage           | 5.09       | V     | 'OK'
808  | System Board -12V            | Voltage           | -12.09     | V     | 'OK'
875  | System Board VBAT            | Voltage           | 3.04       | V     | 'OK'
942  | System Board VSB             | Voltage           | 3.34       | V     | 'OK'
1009 | System Board AVCC            | Voltage           | 3.38       | V     | 'OK'
1076 | System Chassis Chassis Intru | Physical Security | N/A        | N/A   | 'OK'
1143 | Power Supply PS Status       | Power Supply      | N/A        | N/A   | 'Presence detected' 'Unrecognized Event = 0100h' 'Unrecognized Event = 0200h' 'Unrecognized Event = 0400h' 'Unrecognized Event = 0800h' 'Unrecognized Event = 1000h' 'Unrecognized Event = 2000h' 'Unrecognized Event = 4000h'

ipmi-sensors --interpret-oem-data

root@ubuntu-11-10:~# ipmi-sensors --interpret-oem-data
ID   | Name          | Type              | Reading    | Units | Event
4    | System Temp   | Temperature       | 37.00      | C     | 'OK'
71   | CPU Temp      | OEM Reserved      | N/A        | N/A   | 'Low'
138  | FAN 1         | Fan               | 1755.00    | RPM   | 'OK'
205  | FAN 2         | Fan               | N/A        | RPM   | N/A
272  | FAN 3         | Fan               | N/A        | RPM   | N/A
339  | FAN 4         | Fan               | N/A        | RPM   | N/A
406  | FAN A         | Fan               | N/A        | RPM   | N/A
473  | Vcore         | Voltage           | 0.71       | V     | 'OK'
540  | 3.3VCC        | Voltage           | 3.36       | V     | 'OK'
607  | 12V           | Voltage           | 11.93      | V     | 'OK'
674  | VDIMM         | Voltage           | 1.53       | V     | 'OK'
741  | 5VCC          | Voltage           | 5.09       | V     | 'OK'
808  | -12V          | Voltage           | -12.09     | V     | 'OK'
875  | VBAT          | Voltage           | 3.04       | V     | 'OK'
942  | VSB           | Voltage           | 3.34       | V     | 'OK'
1009 | AVCC          | Voltage           | 3.38       | V     | 'OK'
1076 | Chassis Intru | Physical Security | N/A        | N/A   | 'OK'
1143 | PS Status     | Power Supply      | N/A        | N/A   | 'Presence detected' 'Unrecognized Event = 0100h' 'Unrecognized Event = 0200h' 'Unrecognized Event = 0400h' 'Unrecognized Event = 0800h' 'Unrecognized Event = 1000h' 'Unrecognized Event = 2000h' 'Unrecognized Event = 4000h'

ipmi-sensors -r ID

root@ubuntu-11-10:~# ipmi-sensors -r 138
ID  | Name  | Type | Reading    | Units | Event
138 | FAN 1 | Fan  | 1755.00    | RPM   | 'OK'

ipmi-sensors -r ID -v

root@ubuntu-11-10:~# ipmi-sensors -r 138 -v
Record ID: 138
ID String: FAN 1
Sensor Type: Fan (4h)
Sensor Number: 65
IPMB Slave Address: 10h
Sensor Owner ID: 20h
Sensor Owner LUN: 0h
Channel Number: 0h
Entity ID: fan/cooling device (29)
Entity Instance: 1
Entity Instance Type: Physical Entity
Event/Reading Type Code: 1h
Lower Critical Threshold: 540.000000 RPM
Upper Critical Threshold: 29160.000000 RPM
Lower Non-Critical Threshold: 675.000000 RPM
Upper Non-Critical Threshold: 29025.000000 RPM
Lower Non-Recoverable Threshold: 405.000000 RPM
Upper Non-Recoverable Threshold: 29295.000000 RPM
Sensor Min. Reading: 0.000000 RPM
Sensor Max. Reading: 34425.000000 RPM
Normal Min.: 2700.000000 RPM
Normal Max.: 22950.000000 RPM
Nominal Reading: 17280.000000 RPM
Sensor Reading: 1755.000000 RPM
Sensor Event: 'OK'

ipmi-sensors -r ID -vv

root@ubuntu-11-10:~# ipmi-sensors -r 138 -vv
Record ID: 138
Record Type: Full Sensor Record (1h)
ID String: FAN 1
Sensor Type: Fan (4h)
Sensor Number: 65
IPMB Slave Address: 10h
Sensor Owner ID: 20h
Sensor Owner LUN: 0h
Channel Number: 0h
Entity ID: fan/cooling device (29)
Entity Instance: 1
Entity Instance Type: Physical Entity
Event/Reading Type Code: 1h
B: 0
M: 135
R Exponent: 0
B Exponent: 0
Linearization: linear (0h)
Analog Data Format: unsigned (0h)
Tolerance: 0.000000 RPM
Resolution: 135.000000 RPM
Lower Critical Threshold: 540.000000 RPM
Upper Critical Threshold: 29160.000000 RPM
Lower Non-Critical Threshold: 675.000000 RPM
Upper Non-Critical Threshold: 29025.000000 RPM
Lower Non-Recoverable Threshold: 405.000000 RPM
Upper Non-Recoverable Threshold: 29295.000000 RPM
Sensor Min. Reading: 0.000000 RPM
Sensor Max. Reading: 34425.000000 RPM
Normal Min.: 2700.000000 RPM
Normal Max.: 22950.000000 RPM
Nominal Reading: 17280.000000 RPM
Accuracy: 0.000000%
Sensor Direction: Unspecified
Positive Hysteresis: 135.000000 RPM
Negative Hysteresis: 135.000000 RPM
Assertion Event Enabled: 'Lower Non-critical - going low'
Assertion Event Enabled: 'Lower Critical - going low'
Assertion Event Enabled: 'Lower Non-recoverable - going low'
Assertion Event Enabled: 'Upper Non-critical - going high'
Assertion Event Enabled: 'Upper Critical - going high'
Assertion Event Enabled: 'Upper Non-recoverable - going high'
Deassertion Event Enabled: 'Lower Non-critical - going low'
Deassertion Event Enabled: 'Lower Critical - going low'
Deassertion Event Enabled: 'Lower Non-recoverable - going low'
Deassertion Event Enabled: 'Upper Non-critical - going high'
Deassertion Event Enabled: 'Upper Critical - going high'
Deassertion Event Enabled: 'Upper Non-recoverable - going high'
Sensor Reading: 1755.000000 RPM
Sensor Event: 'OK'

Beispielausgaben FreeIPMI 0.7.17.beta2

user@ubuntu:~$ ipmi-sensors -V
ipmi-sensors - 0.7.17.beta2
Copyright (C) 2003-2008 FreeIPMI Core Team
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
user@ubuntu:~$ ipmi-sensors -h 10.99.99.99 -l user -u monitoring -p relation
2: CPU1 Temp (OEM Reserved): [OEM State = 0000h]
3: CPU2 Temp (OEM Reserved): [OEM State = 0000h]
4: System Temp (Temperature): 46.00 C (0.00/82.00): [OK]
5: CPU1 Vcore (Voltage): 0.90 V (0.82/1.36): [OK]
6: CPU2 Vcore (Voltage): 0.95 V (0.82/1.36): [OK]
7: CPU1 DIMM (Voltage): 1.52 V (1.02/1.87): [OK]
8: CPU2 DIMM (Voltage): 1.52 V (1.02/1.87): [OK]
9: +1.5V (Voltage): 1.51 V (1.33/1.66): [OK]
10: +3.3V (Voltage): 3.29 V (2.90/3.67): [OK]
11: +3.3VSB (Voltage): 3.24 V (2.90/3.67): [OK]
12: +5V (Voltage): 5.12 V (4.45/5.57): [OK]
13: +12V (Voltage): 12.19 V (10.65/13.30): [OK]
14: VBAT (Voltage): 3.24 V (2.90/3.67): [OK]
15: Fan1 (Fan): 2652.00 RPM (204.00/8772.00): [OK]
16: Fan2 (Fan): 2652.00 RPM (204.00/8772.00): [OK]
17: Fan3 (Fan): 2652.00 RPM (204.00/8772.00): [OK]
23: Intrusion (Physical Security): [OK]
24: PS Failure (Power Supply): [OK]

Verbose Ausgabe mit -vv

Mit -s wird hier ein Sensor ausgewählt (15 = Fan1 in diesem Beispiel) und mit -vv die Details angezeigt:

user@ubuntu:~$ ipmi-sensors -h 10.99.99.99 -l user -u monitoring -p relation -s 15 -vv
Record ID: 15
Record Type: 1h
ID String: Fan1
Group Name: Fan
Sensor Number: 14
IPMB Slave Address: 10h
Sensor Owner ID: 20h
Sensor Owner LUN: 0h
Channel Number: 0h
Entity ID: 7
Entity Instance: 2
Event/Reading Type Code: 1h
B: 0
M: 68
R Exponent: 0
B Exponent: 0
Linearization: 0
Analog Data Format: 0
Lower Critical Threshold: 204.000000 RPM
Upper Critical Threshold: 8772.000000 RPM
Lower Non-Critical Threshold: 272.000000 RPM
Upper Non-Critical Threshold: 8840.000000 RPM
Lower Non-Recoverable Threshold: 136.000000 RPM
Upper Non-Recoverable Threshold: 8704.000000 RPM
Sensor Min. Reading: 0.000000 RPM
Sensor Max. Reading: 17340.000000 RPM
Normal Min.: 340.000000 RPM
Normal Max.: 8636.000000 RPM
Nominal reading: 884.000000 RPM
Positive Hysteresis: 136.000000 RPM
Negative Hysteresis: 136.000000 RPM
Assertion Events Enabled: [Lower Non-critical - going low]
                          [Lower Critical - going low]
                          [Lower Non-recoverable - going low]
                          [Upper Non-critical - going high]
                          [Upper Critical - going high]
                          [Upper Non-recoverable - going high]
Deassertion Events Enabled: [NONE]
Sensor Reading: 2652.000000 RPM
Sensor Status: [OK]

user@ubuntu:~$ 


Foto Werner Fischer.jpg

Autor: Werner Fischer

Werner Fischer, tätig im Bereich Communications / Knowledge Transfer bei Thomas-Krenn, hat sein Studium zu Computer- und Mediensicherheit an der FH Hagenberg abgeschlossen. Er ist regelmäßig Autor in Fachzeitschriften und Speaker bei Konferenzen wie LinuxCon, OSDC, OSMC, LinuxTag u.v.m. Seine Freizeit gestaltet er sehr abwechslungsreich. In einem Moment absolviert er seinen Abschluss im Klavierspielen, im anderen läuft er beim Linzmarathon in der Staffel mit oder interessiert sich für OpenStreetMap.


Das könnte Sie auch interessieren

HTML5 Konsole bleibt weiß nach Supermicro Redfish IPMI-Update
IPMI Konfiguration für Supermicro Systeme
Ipmitool zur Sensorabfrage von Servern nutzen