SlideShare a Scribd company logo
1 of 37
Download to read offline
Hardware Monitoring
with the new
IPMI Plugin v2
Werner Fischer, Technology Specialist Thomas-Krenn.AG
6. OSMC / Nuremberg / Germany
29th
November 2011
slide 2/37
who
I am not
who I am
Werner Fischer
Introduction
working for a
Server vendor
Linux user
since 2001
Kernel or H/W
developer
slide 3/37
who is
Server & accessories
"Made in Germany"
Introduction
based in Freyung,
Bavaria
serving all over Europe
slide 4/37
Some questions ...
Should I use monitoring?
slide 5/37
Should I use monitoring?
It depends on what you
want to do in your free time...
remember yesterday evening?
Some questions ...
✘✔
slide 6/37
All drives of the RAID 6 O.K.?
Some questions ...
✔✔ ✔ ✔
slide 7/37
All network connections O.K.?
Some questions ...
✔
✔
slide 8/37
All FANs O.K.?
Some questions ...
?
slide 9/37
All power supplies O.K.?
Some questions ...
?
slide 10/37
Can we monitor all these servers?
Some questions ...
any IPMI
compatible
server
slide 11/37
Can we monitor all these servers?
Easily?
Some questions ...
any IPMI
compatible
server
slide 12/37
Can we monitor all these servers?
Easily?
With one single tool?
Some questions ...
any IPMI
compatible
server
slide 13/37
Can we monitor all these servers?
Easily?
With one single tool?
Some questions ...
slide 14/37
Agenda
1) IPMI overview
2) Plugin implementation
3) Live demo
4) Common pitfalls
slide 15/37
Intelligent Platform Management Interface
• IPMI developed by Intel, HP, NEC, Dell
– 1998: IPMI v1.0
– 2001: IPMI v1.5
– 2004: IPMI v2.0
slide 16/37
IPMI main features
 Monitoring
(temp, fans, ...)
 Recovery Control
(power on/off/reset)
 Logging
(System Event Log)
 Inventory
(FRU information)
slide 17/37
IPMI overview
Chassis board
Motherboard
Processor
board
Memory
board
Baseboard
Management
Controller
(BMC)
System bus
NVS Storage
SDR
SEL
FRU
Chassis
mgmt.
(Satellite
Controller)
Sensors & Controls
Fan sensor
Temp. sensor
Power control
Reset control
…
FRU
Temp. s.
FRU
private mgmt. busses
IPMB
M/B
Serial
Controller
Serial
Port
Sharing
BMC
Serial
Controller
Serial/Modem
interface
LAN
interface
Serial
Connector
LAN
Connector
PCI mgmt. bus
Network
(LAN)
Controller
Remote Mmgt. Card
(KVM over IP, ...)
Auxillary
IPMB Connector
ICMB
ICMB
bridge
System
interface
Redundant Power
board
FRU Temp.
sensor
…
FRU
access req.
root privileges
access req.
username &
password
slide 18/37
IPMI Channel Privilege Levels (LAN access)
use privilege level 'User'
for monitoring purposes
Privilege Level Allows
User ● query sensors
Operator ● nearly all IPMI commands
● but no changing of out-of-
band interfaces
Administrator • all IPMI commands
slide 19/37
Example: remote control with ipmitool
[user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211 
                  ­U admin power status
Password:
Chassis Power is off
[user@adminpc ~]$
[user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211 
                  ­U admin power status
Password:
Chassis Power is off
[user@adminpc ~]$
[user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211 
                  ­U admin power on
Password:
Chassis Power Control: Up/On
[user@adminpc ~]$
[user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211 
                  ­U admin power on
Password:
Chassis Power Control: Up/On
[user@adminpc ~]$
[user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211 
                  ­U admin power status
Password:
Chassis Power is on
[user@adminpc ~]$
[user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211 
                  ­U admin power status
Password:
Chassis Power is on
[user@adminpc ~]$
slide 20/37
Discrete Threshold
multiple states possible:
● up to 15 states
● each state is reflected by a bit
● multiple state bits can active
changes event status on:
● analog reading compared to
threshold values
can provide:
● generic states
● sensor-specific states
provides:
● analog reading
of the sensor
● discr. threshold
comparison status bit
other class similar to discrete:
● OEM: discrete sensor where the
meaning of the states (offsets) are
OEM defined
IPMI Sensor Classes (1/2)
slide 21/37
Discrete Threshold
IPMI Sensor Classes (2/2)
[root@test ~]# ipmitool sdr get "PS2 Status"
Sensor ID              : PS2 Status (0x71)
 Entity ID             : 10.2 (Power Supply)
 Sensor Type (Discrete): Power Supply
 States Asserted       : Power Supply
                         [Presence detected]
                         [Power Supply AC lost]
 Assertion Events      : Power Supply
                         [Presence detected]
                         [Power Supply AC lost]
 Assertions Enabled    : Power Supply
                         [Presence detected]
                         [Failure detected]
                         [Predictive failure]
                         [Power Supply AC lost]
[...]
 Deassertions Enabled  : Power Supply
[...]
[root@test ~]# ipmitool sdr get "PS2 Status"
Sensor ID              : PS2 Status (0x71)
 Entity ID             : 10.2 (Power Supply)
 Sensor Type (Discrete): Power Supply
 States Asserted       : Power Supply
                         [Presence detected]
                         [Power Supply AC lost]
 Assertion Events      : Power Supply
                         [Presence detected]
                         [Power Supply AC lost]
 Assertions Enabled    : Power Supply
                         [Presence detected]
                         [Failure detected]
                         [Predictive failure]
                         [Power Supply AC lost]
[...]
 Deassertions Enabled  : Power Supply
[...]
[root@test ~]# ipmitool sdr get "Fan 1"
Sensor ID              : Fan 1 (0x50)
 Entity ID             : 29.1 (Fan Device)
 Sensor Type (Analog)  : Fan
 Sensor Reading        : 5719 (+/­ 0) RPM
 Status                : ok
 Nominal Reading       : 6708.000
 Normal Minimum        : 2451.000
 Normal Maximum        : 10965.000
 Lower critical        : 1720.000
 Lower non­critical    : 1978.000
 Positive Hysteresis   : 86.000
 Negative Hysteresis   : 86.000
 Minimum sensor range  : Unspecified
 Maximum sensor range  : Unspecified
 Event Message Control : Per­threshold
 Readable Thresholds   : lcr lnc 
 Settable Thresholds   : lcr lnc 
 Threshold Read Mask   : lcr lnc 
 Assertion Events      : 
 Assertions Enabled    : lnc­ lcr­ 
 Deassertions Enabled  : lnc­ lcr­ 
[root@test ~]# ipmitool sdr get "Fan 1"
Sensor ID              : Fan 1 (0x50)
 Entity ID             : 29.1 (Fan Device)
 Sensor Type (Analog)  : Fan
 Sensor Reading        : 5719 (+/­ 0) RPM
 Status                : ok
 Nominal Reading       : 6708.000
 Normal Minimum        : 2451.000
 Normal Maximum        : 10965.000
 Lower critical        : 1720.000
 Lower non­critical    : 1978.000
 Positive Hysteresis   : 86.000
 Negative Hysteresis   : 86.000
 Minimum sensor range  : Unspecified
 Maximum sensor range  : Unspecified
 Event Message Control : Per­threshold
 Readable Thresholds   : lcr lnc 
 Settable Thresholds   : lcr lnc 
 Threshold Read Mask   : lcr lnc 
 Assertion Events      : 
 Assertions Enabled    : lnc­ lcr­ 
 Deassertions Enabled  : lnc­ lcr­ 
slide 22/37
IPMI Sensor Types
root@test:~# ipmi­sensors ­L
Temperature
Voltage
Current
Fan
Physical_Security
Platform_Security_Violation_Attempt
Processor
Power_Supply
Power_Unit
Cooling_Device
[…]
root@test:~# ipmi­sensors ­L
Temperature
Voltage
Current
Fan
Physical_Security
Platform_Security_Violation_Attempt
Processor
Power_Supply
Power_Unit
Cooling_Device
[…]
slide 23/37
Example: query sensors with FreeIPMI
[root@testserver ~]# ipmimonitoring
Record_ID | Sensor Name | Sensor Group | Monitoring Status| 
Sensor Units | Sensor Reading
[...]
17 | Fan 5              | Fan     | Nominal | RPM | 9052.000000 
18 | Fan 6              | Fan     | Nominal | RPM | 8060.000000 
19 | PS1 AC Current     | Current | Nominal | A   | 0.124000 
20 | PS2 AC Current     | Current | Nominal | A   | 0.992000 
[...]
36 | Physical Scrty     | Physical Security | Critical | N/A | 
                                      'General Chassis Intrusion'
[root@testserver ~]# ipmimonitoring
Record_ID | Sensor Name | Sensor Group | Monitoring Status| 
Sensor Units | Sensor Reading
[...]
17 | Fan 5              | Fan     | Nominal | RPM | 9052.000000 
18 | Fan 6              | Fan     | Nominal | RPM | 8060.000000 
19 | PS1 AC Current     | Current | Nominal | A   | 0.124000 
20 | PS2 AC Current     | Current | Nominal | A   | 0.992000 
[...]
36 | Physical Scrty     | Physical Security | Critical | N/A | 
                                      'General Chassis Intrusion'
slide 24/37
Example: interpret discrete sensors( FreeIPMI)
root@test:~# cat /etc/freeipmi/freeipmi_interpret_sensor.conf
[…]
## IPMI_Physical_Security 
#
# IPMI_Physical_Security_No_Event                  Nominal
# IPMI_Physical_Security_General_Chassis_Intrusion Critical
# IPMI_Physical_Security_Drive_Bay_Intrusion       Critical
[…]
# IPMI_Power_Supply_No_Event                       Nominal
# IPMI_Power_Supply_Presence_Detected              Nominal
# IPMI_Power_Supply_Power_Supply_Failure_Detected  Critical
# IPMI_Power_Supply_Predictive_Failure             Critical
# IPMI_Power_Supply_Power_Supply_Input_Lost_AC_DC  Critical
[…]
## IPMI_Memory
#
# IPMI_Memory_No_Event                             Nominal
# IPMI_Memory_Correctable_Memory_Error             Warning
# IPMI_Memory_Uncorrectable_Memory_Error           Critical
root@test:~# cat /etc/freeipmi/freeipmi_interpret_sensor.conf
[…]
## IPMI_Physical_Security 
#
# IPMI_Physical_Security_No_Event                  Nominal
# IPMI_Physical_Security_General_Chassis_Intrusion Critical
# IPMI_Physical_Security_Drive_Bay_Intrusion       Critical
[…]
# IPMI_Power_Supply_No_Event                       Nominal
# IPMI_Power_Supply_Presence_Detected              Nominal
# IPMI_Power_Supply_Power_Supply_Failure_Detected  Critical
# IPMI_Power_Supply_Predictive_Failure             Critical
# IPMI_Power_Supply_Power_Supply_Input_Lost_AC_DC  Critical
[…]
## IPMI_Memory
#
# IPMI_Memory_No_Event                             Nominal
# IPMI_Memory_Correctable_Memory_Error             Warning
# IPMI_Memory_Uncorrectable_Memory_Error           Critical
slide 25/37
IPMI System Event Log (SEL)
• stored in non-volatile storage
[root@testserver ~]# ipmitool sel elist
  40 | 06/21/2010 | 14:29:29 | Power Supply PS1 Status | Power Supply AC lost | Asserted
  54 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Fully Redundant
  68 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Redundancy Lost
  7c | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant
[...]
 2fc | 06/21/2010 | 15:20:32 | Physical Security Physical Scrty | General Chassis intrusion | Asserted
[root@testserver ~]# ipmitool sel elist
  40 | 06/21/2010 | 14:29:29 | Power Supply PS1 Status | Power Supply AC lost | Asserted
  54 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Fully Redundant
  68 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Redundancy Lost
  7c | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant
[...]
 2fc | 06/21/2010 | 15:20:32 | Physical Security Physical Scrty | General Chassis intrusion | Asserted
[root@testserver ~]# ipmitool sel elist
Power Supply PS1 Status | Power Supply AC lost | Asserted
Power Unit Power Redundancy | Fully Redundant
Power Unit Power Redundancy | Redundancy Lost
Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant
[...]
Physical Security Physical Scrty | General Chassis intrusion | Asserted
[root@testserver ~]# ipmitool sel elist
Power Supply PS1 Status | Power Supply AC lost | Asserted
Power Unit Power Redundancy | Fully Redundant
Power Unit Power Redundancy | Redundancy Lost
Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant
[...]
Physical Security Physical Scrty | General Chassis intrusion | Asserted
slide 26/37
Agenda
1) IPMI overview
2) Plugin implementation
3) Live demo
4) Common pitfalls
slide 27/37
Plugin implementation
• Bash script
• uses FreeIPMI, gawk
# ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg 
IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4185.000000 'FAN 
2'=4320.000000 'FAN 3'=4590.000000 'FAN 4'=4320.000000 'FAN 
A'=4590.000000 'Vcore'=0.712000 '3.3VCC'=3.392000 '12V'=12.190000 
'VDIMM'=1.528000 '5VCC'=5.088000 '­12V'=­11.681000 'VBAT'=3.024000 
'VSB'=3.344000 'AVCC'=3.408000 
# ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg 
IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4185.000000 'FAN 
2'=4320.000000 'FAN 3'=4590.000000 'FAN 4'=4320.000000 'FAN 
A'=4590.000000 'Vcore'=0.712000 '3.3VCC'=3.392000 '12V'=12.190000 
'VDIMM'=1.528000 '5VCC'=5.088000 '­12V'=­11.681000 'VBAT'=3.024000 
'VSB'=3.344000 'AVCC'=3.408000 
slide 28/37
Plugin implementation
• Bash script
• uses FreeIPMI, gawk
# ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg ­v 2
IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4320.000000 'FAN 
[…] 
System Temp = 29.000000 (Status: Nominal)
CPU Temp = 'Low' (Status: Nominal)
FAN 1 = 4320.000000 (Status: Nominal)
FAN 2 = 4320.000000 (Status: Nominal)
FAN 3 = 4590.000000 (Status: Nominal)
[…]
AVCC = 3.408000 (Status: Nominal)
Chassis Intru = 'OK' (Status: Nominal)
PS Status = 'Presence detected' (Status: Nominal) 
# ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg ­v 2
IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4320.000000 'FAN 
[…] 
System Temp = 29.000000 (Status: Nominal)
CPU Temp = 'Low' (Status: Nominal)
FAN 1 = 4320.000000 (Status: Nominal)
FAN 2 = 4320.000000 (Status: Nominal)
FAN 3 = 4590.000000 (Status: Nominal)
[…]
AVCC = 3.408000 (Status: Nominal)
Chassis Intru = 'OK' (Status: Nominal)
PS Status = 'Presence detected' (Status: Nominal) 
slide 29/37
Plugin implementation
• clear illustration in webinterfaces
slide 30/37
Agenda
1) IPMI overview
2) Plugin implementation
3) Live demo
4) Common pitfalls
slide 31/37
Agenda
1) IPMI overview
2) Plugin implementation
3) Live demo
4) Common pitfalls
slide 32/37
Common pitfalls
• sensors with state N/A
• solution shortest-term: exclude (-x opt.)
• solution short-term: FreeIPMI update
tkwiki.cc/FreeIPMI-NA-Sensor
[…]
12 | CPU1 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h'
13 | CPU2 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h' 
[…]
[…]
12 | CPU1 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h'
13 | CPU2 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h' 
[…]
slide 33/37
Common pitfalls
• unrecognized events
• solution shortest-term: ignore unrec. e.
tkwiki.cc/FreeIPMI-Unrec-Event
[…] 
40 | Status | Cable/Interconnect | Nominal | N/A | 
'Cable/Interconnect is connected'
41 | RAC Status | Module/Board | N/A | N/A | 'Unrecognized Event = 
0001h' 'Unrecognized Event = 0002h' 'Unrecognized Event = 0004h'
42 | OS Watchdog | Watchdog 2 | Nominal | N/A | 'OK'
[…]  
[…] 
40 | Status | Cable/Interconnect | Nominal | N/A | 
'Cable/Interconnect is connected'
41 | RAC Status | Module/Board | N/A | N/A | 'Unrecognized Event = 
0001h' 'Unrecognized Event = 0002h' 'Unrecognized Event = 0004h'
42 | OS Watchdog | Watchdog 2 | Nominal | N/A | 'OK'
[…]  
slide 34/37
Agenda
1) IPMI overview
2) Plugin implementation
3) Live demo
4) Common pitfalls
some conclusions …
slide 35/37
Conclusions (1/2)
• Download:
www.thomas-krenn.com/en/oss
• Mailing List:
lists.thomas-krenn.com
• Thanks for your contribution:
Nikolaus Filus, Timme Katz, Lars
Meuser, Sebastian Mörchen, Gustav
Olsson, Holger Paschke, Andy Spiegl,
Ulrich Zehl
slide 36/37
Conclusions (2/2)
 Monitor hardware
with Icinga & IPMI
 Problems?
They will tell you!
 It'll save you
time & money
Get German article
on the plugin for free at
tkwiki.cc/ipmi-plugin
Thanks for your time!

More Related Content

What's hot

Q4.11: ARM Architecture
Q4.11: ARM ArchitectureQ4.11: ARM Architecture
Q4.11: ARM ArchitectureLinaro
 
AAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System StartupAAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System StartupAnh Dung NGUYEN
 
AAME ARM Techcon2013 003v02 Software Development
AAME ARM Techcon2013 003v02  Software DevelopmentAAME ARM Techcon2013 003v02  Software Development
AAME ARM Techcon2013 003v02 Software DevelopmentAnh Dung NGUYEN
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processorRAMPRAKASHT1
 
Arm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelArm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelGanesh Naik
 
DCS PRESENTATION
DCS PRESENTATIONDCS PRESENTATION
DCS PRESENTATIONbvent2005
 
Sitrain s7 1200 pwm pid
Sitrain s7 1200 pwm pidSitrain s7 1200 pwm pid
Sitrain s7 1200 pwm pidconfidencial
 
Signal Handling in Linux
Signal Handling in LinuxSignal Handling in Linux
Signal Handling in LinuxTushar B Kute
 
Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Alexander Bolshev
 
ARM 7 Detailed instruction set
ARM 7 Detailed instruction setARM 7 Detailed instruction set
ARM 7 Detailed instruction setP.r. Dinesh
 
Programmable Rf Attenuation Project
Programmable Rf Attenuation ProjectProgrammable Rf Attenuation Project
Programmable Rf Attenuation ProjectRon Harding
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUsPremier Farnell
 

What's hot (20)

Q4.11: ARM Architecture
Q4.11: ARM ArchitectureQ4.11: ARM Architecture
Q4.11: ARM Architecture
 
AVR introduction
AVR introduction AVR introduction
AVR introduction
 
AAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System StartupAAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System Startup
 
AAME ARM Techcon2013 003v02 Software Development
AAME ARM Techcon2013 003v02  Software DevelopmentAAME ARM Techcon2013 003v02  Software Development
AAME ARM Techcon2013 003v02 Software Development
 
Avr and arm
Avr and armAvr and arm
Avr and arm
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
Arm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelArm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_model
 
SIEMENS S7-300c.ppt
SIEMENS S7-300c.pptSIEMENS S7-300c.ppt
SIEMENS S7-300c.ppt
 
1 Day Arm 2007
1 Day Arm 20071 Day Arm 2007
1 Day Arm 2007
 
Pic microcontroller step by step your complete guide
Pic microcontroller step by step your complete guidePic microcontroller step by step your complete guide
Pic microcontroller step by step your complete guide
 
DCS PRESENTATION
DCS PRESENTATIONDCS PRESENTATION
DCS PRESENTATION
 
Sitrain s7 1200 pwm pid
Sitrain s7 1200 pwm pidSitrain s7 1200 pwm pid
Sitrain s7 1200 pwm pid
 
Signal Handling in Linux
Signal Handling in LinuxSignal Handling in Linux
Signal Handling in Linux
 
Microcontroller part 2
Microcontroller part 2Microcontroller part 2
Microcontroller part 2
 
Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...Practical reverse engineering and exploit development for AVR-based Embedded ...
Practical reverse engineering and exploit development for AVR-based Embedded ...
 
89c5131datasheet
89c5131datasheet89c5131datasheet
89c5131datasheet
 
ARM 7 Detailed instruction set
ARM 7 Detailed instruction setARM 7 Detailed instruction set
ARM 7 Detailed instruction set
 
Programmable Rf Attenuation Project
Programmable Rf Attenuation ProjectProgrammable Rf Attenuation Project
Programmable Rf Attenuation Project
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUs
 

Similar to OSMC 2011 | Hardware Monitoring with the new IPMI Plugin v2 by Werner Fischer

20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v220111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2Werner Fischer
 
OSMC 2014: Server Hardware Monitoring done right | Werner Fischer
OSMC 2014: Server Hardware Monitoring done right | Werner FischerOSMC 2014: Server Hardware Monitoring done right | Werner Fischer
OSMC 2014: Server Hardware Monitoring done right | Werner FischerNETWAYS
 
OSDC 2010 | The Power of IPMI by Werner Fischer
OSDC 2010 | The Power of IPMI by Werner FischerOSDC 2010 | The Power of IPMI by Werner Fischer
OSDC 2010 | The Power of IPMI by Werner FischerNETWAYS
 
LF_DPDK17_mediated devices: better userland IO
LF_DPDK17_mediated devices: better userland IOLF_DPDK17_mediated devices: better userland IO
LF_DPDK17_mediated devices: better userland IOLF_DPDK
 
Ae01 system overview
Ae01 system overviewAe01 system overview
Ae01 system overviewconfidencial
 
DESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA Camp
DESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA CampDESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA Camp
DESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA CampFPGA Central
 
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeVisão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeAnderson Bassani
 
CHM_Technologies_PLC.ppt
CHM_Technologies_PLC.pptCHM_Technologies_PLC.ppt
CHM_Technologies_PLC.pptVinothInst
 
FE_Technologies_PLC.ppt
FE_Technologies_PLC.pptFE_Technologies_PLC.ppt
FE_Technologies_PLC.pptDilupa Herath
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part AIkhwan_Fakrudin
 
MYS-8MMX Single Board Computer
MYS-8MMX Single Board ComputerMYS-8MMX Single Board Computer
MYS-8MMX Single Board ComputerLinda Zhang
 
Building PoC ready ODM Platforms with Arm SystemReady v5.2.pdf
Building PoC ready ODM Platforms with Arm SystemReady v5.2.pdfBuilding PoC ready ODM Platforms with Arm SystemReady v5.2.pdf
Building PoC ready ODM Platforms with Arm SystemReady v5.2.pdfPaul Yang
 
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...Neil Armstrong
 
OSMC 2014 | Server Hardware Monitoring done right by Werner Fischer
OSMC 2014 | Server Hardware Monitoring done right by Werner FischerOSMC 2014 | Server Hardware Monitoring done right by Werner Fischer
OSMC 2014 | Server Hardware Monitoring done right by Werner FischerNETWAYS
 
Icinga Camp Berlin 2017 - 10 Tips for better Hardware Monitoring
Icinga Camp Berlin 2017 - 10 Tips for better Hardware MonitoringIcinga Camp Berlin 2017 - 10 Tips for better Hardware Monitoring
Icinga Camp Berlin 2017 - 10 Tips for better Hardware MonitoringIcinga
 

Similar to OSMC 2011 | Hardware Monitoring with the new IPMI Plugin v2 by Werner Fischer (20)

20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v220111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
 
OSMC 2014: Server Hardware Monitoring done right | Werner Fischer
OSMC 2014: Server Hardware Monitoring done right | Werner FischerOSMC 2014: Server Hardware Monitoring done right | Werner Fischer
OSMC 2014: Server Hardware Monitoring done right | Werner Fischer
 
OSDC 2010 | The Power of IPMI by Werner Fischer
OSDC 2010 | The Power of IPMI by Werner FischerOSDC 2010 | The Power of IPMI by Werner Fischer
OSDC 2010 | The Power of IPMI by Werner Fischer
 
LF_DPDK17_mediated devices: better userland IO
LF_DPDK17_mediated devices: better userland IOLF_DPDK17_mediated devices: better userland IO
LF_DPDK17_mediated devices: better userland IO
 
Ae01 system overview
Ae01 system overviewAe01 system overview
Ae01 system overview
 
DESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA Camp
DESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA CampDESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA Camp
DESIGN CHOICES FOR EMBEDDED REAL-TIME CONTROL SYSTEMS @ 4th FPGA Camp
 
ARM Processor Tutorial
ARM Processor Tutorial ARM Processor Tutorial
ARM Processor Tutorial
 
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeVisão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
FE_Technologies_PLC.ppt
FE_Technologies_PLC.pptFE_Technologies_PLC.ppt
FE_Technologies_PLC.ppt
 
CHM_Technologies_PLC.ppt
CHM_Technologies_PLC.pptCHM_Technologies_PLC.ppt
CHM_Technologies_PLC.ppt
 
FE_Technologies_PLC.ppt
FE_Technologies_PLC.pptFE_Technologies_PLC.ppt
FE_Technologies_PLC.ppt
 
IPmux ws 4.00.ppt
IPmux ws 4.00.pptIPmux ws 4.00.ppt
IPmux ws 4.00.ppt
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part A
 
MYS-8MMX Single Board Computer
MYS-8MMX Single Board ComputerMYS-8MMX Single Board Computer
MYS-8MMX Single Board Computer
 
Building PoC ready ODM Platforms with Arm SystemReady v5.2.pdf
Building PoC ready ODM Platforms with Arm SystemReady v5.2.pdfBuilding PoC ready ODM Platforms with Arm SystemReady v5.2.pdf
Building PoC ready ODM Platforms with Arm SystemReady v5.2.pdf
 
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
 
OSMC 2014 | Server Hardware Monitoring done right by Werner Fischer
OSMC 2014 | Server Hardware Monitoring done right by Werner FischerOSMC 2014 | Server Hardware Monitoring done right by Werner Fischer
OSMC 2014 | Server Hardware Monitoring done right by Werner Fischer
 
4 ch QAM Encoder-Modulator
4 ch QAM Encoder-Modulator4 ch QAM Encoder-Modulator
4 ch QAM Encoder-Modulator
 
Icinga Camp Berlin 2017 - 10 Tips for better Hardware Monitoring
Icinga Camp Berlin 2017 - 10 Tips for better Hardware MonitoringIcinga Camp Berlin 2017 - 10 Tips for better Hardware Monitoring
Icinga Camp Berlin 2017 - 10 Tips for better Hardware Monitoring
 

Recently uploaded

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 

Recently uploaded (20)

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 

OSMC 2011 | Hardware Monitoring with the new IPMI Plugin v2 by Werner Fischer

  • 1. Hardware Monitoring with the new IPMI Plugin v2 Werner Fischer, Technology Specialist Thomas-Krenn.AG 6. OSMC / Nuremberg / Germany 29th November 2011
  • 2. slide 2/37 who I am not who I am Werner Fischer Introduction working for a Server vendor Linux user since 2001 Kernel or H/W developer
  • 3. slide 3/37 who is Server & accessories "Made in Germany" Introduction based in Freyung, Bavaria serving all over Europe
  • 4. slide 4/37 Some questions ... Should I use monitoring?
  • 5. slide 5/37 Should I use monitoring? It depends on what you want to do in your free time... remember yesterday evening? Some questions ... ✘✔
  • 6. slide 6/37 All drives of the RAID 6 O.K.? Some questions ... ✔✔ ✔ ✔
  • 7. slide 7/37 All network connections O.K.? Some questions ... ✔ ✔
  • 8. slide 8/37 All FANs O.K.? Some questions ... ?
  • 9. slide 9/37 All power supplies O.K.? Some questions ... ?
  • 10. slide 10/37 Can we monitor all these servers? Some questions ... any IPMI compatible server
  • 11. slide 11/37 Can we monitor all these servers? Easily? Some questions ... any IPMI compatible server
  • 12. slide 12/37 Can we monitor all these servers? Easily? With one single tool? Some questions ... any IPMI compatible server
  • 13. slide 13/37 Can we monitor all these servers? Easily? With one single tool? Some questions ...
  • 14. slide 14/37 Agenda 1) IPMI overview 2) Plugin implementation 3) Live demo 4) Common pitfalls
  • 15. slide 15/37 Intelligent Platform Management Interface • IPMI developed by Intel, HP, NEC, Dell – 1998: IPMI v1.0 – 2001: IPMI v1.5 – 2004: IPMI v2.0
  • 16. slide 16/37 IPMI main features  Monitoring (temp, fans, ...)  Recovery Control (power on/off/reset)  Logging (System Event Log)  Inventory (FRU information)
  • 17. slide 17/37 IPMI overview Chassis board Motherboard Processor board Memory board Baseboard Management Controller (BMC) System bus NVS Storage SDR SEL FRU Chassis mgmt. (Satellite Controller) Sensors & Controls Fan sensor Temp. sensor Power control Reset control … FRU Temp. s. FRU private mgmt. busses IPMB M/B Serial Controller Serial Port Sharing BMC Serial Controller Serial/Modem interface LAN interface Serial Connector LAN Connector PCI mgmt. bus Network (LAN) Controller Remote Mmgt. Card (KVM over IP, ...) Auxillary IPMB Connector ICMB ICMB bridge System interface Redundant Power board FRU Temp. sensor … FRU access req. root privileges access req. username & password
  • 18. slide 18/37 IPMI Channel Privilege Levels (LAN access) use privilege level 'User' for monitoring purposes Privilege Level Allows User ● query sensors Operator ● nearly all IPMI commands ● but no changing of out-of- band interfaces Administrator • all IPMI commands
  • 19. slide 19/37 Example: remote control with ipmitool [user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211                    ­U admin power status Password: Chassis Power is off [user@adminpc ~]$ [user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211                    ­U admin power status Password: Chassis Power is off [user@adminpc ~]$ [user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211                    ­U admin power on Password: Chassis Power Control: Up/On [user@adminpc ~]$ [user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211                    ­U admin power on Password: Chassis Power Control: Up/On [user@adminpc ~]$ [user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211                    ­U admin power status Password: Chassis Power is on [user@adminpc ~]$ [user@adminpc ~]$ ipmitool ­I lan ­H 192.168.1.211                    ­U admin power status Password: Chassis Power is on [user@adminpc ~]$
  • 20. slide 20/37 Discrete Threshold multiple states possible: ● up to 15 states ● each state is reflected by a bit ● multiple state bits can active changes event status on: ● analog reading compared to threshold values can provide: ● generic states ● sensor-specific states provides: ● analog reading of the sensor ● discr. threshold comparison status bit other class similar to discrete: ● OEM: discrete sensor where the meaning of the states (offsets) are OEM defined IPMI Sensor Classes (1/2)
  • 21. slide 21/37 Discrete Threshold IPMI Sensor Classes (2/2) [root@test ~]# ipmitool sdr get "PS2 Status" Sensor ID              : PS2 Status (0x71)  Entity ID             : 10.2 (Power Supply)  Sensor Type (Discrete): Power Supply  States Asserted       : Power Supply                          [Presence detected]                          [Power Supply AC lost]  Assertion Events      : Power Supply                          [Presence detected]                          [Power Supply AC lost]  Assertions Enabled    : Power Supply                          [Presence detected]                          [Failure detected]                          [Predictive failure]                          [Power Supply AC lost] [...]  Deassertions Enabled  : Power Supply [...] [root@test ~]# ipmitool sdr get "PS2 Status" Sensor ID              : PS2 Status (0x71)  Entity ID             : 10.2 (Power Supply)  Sensor Type (Discrete): Power Supply  States Asserted       : Power Supply                          [Presence detected]                          [Power Supply AC lost]  Assertion Events      : Power Supply                          [Presence detected]                          [Power Supply AC lost]  Assertions Enabled    : Power Supply                          [Presence detected]                          [Failure detected]                          [Predictive failure]                          [Power Supply AC lost] [...]  Deassertions Enabled  : Power Supply [...] [root@test ~]# ipmitool sdr get "Fan 1" Sensor ID              : Fan 1 (0x50)  Entity ID             : 29.1 (Fan Device)  Sensor Type (Analog)  : Fan  Sensor Reading        : 5719 (+/­ 0) RPM  Status                : ok  Nominal Reading       : 6708.000  Normal Minimum        : 2451.000  Normal Maximum        : 10965.000  Lower critical        : 1720.000  Lower non­critical    : 1978.000  Positive Hysteresis   : 86.000  Negative Hysteresis   : 86.000  Minimum sensor range  : Unspecified  Maximum sensor range  : Unspecified  Event Message Control : Per­threshold  Readable Thresholds   : lcr lnc   Settable Thresholds   : lcr lnc   Threshold Read Mask   : lcr lnc   Assertion Events      :   Assertions Enabled    : lnc­ lcr­   Deassertions Enabled  : lnc­ lcr­  [root@test ~]# ipmitool sdr get "Fan 1" Sensor ID              : Fan 1 (0x50)  Entity ID             : 29.1 (Fan Device)  Sensor Type (Analog)  : Fan  Sensor Reading        : 5719 (+/­ 0) RPM  Status                : ok  Nominal Reading       : 6708.000  Normal Minimum        : 2451.000  Normal Maximum        : 10965.000  Lower critical        : 1720.000  Lower non­critical    : 1978.000  Positive Hysteresis   : 86.000  Negative Hysteresis   : 86.000  Minimum sensor range  : Unspecified  Maximum sensor range  : Unspecified  Event Message Control : Per­threshold  Readable Thresholds   : lcr lnc   Settable Thresholds   : lcr lnc   Threshold Read Mask   : lcr lnc   Assertion Events      :   Assertions Enabled    : lnc­ lcr­   Deassertions Enabled  : lnc­ lcr­ 
  • 22. slide 22/37 IPMI Sensor Types root@test:~# ipmi­sensors ­L Temperature Voltage Current Fan Physical_Security Platform_Security_Violation_Attempt Processor Power_Supply Power_Unit Cooling_Device […] root@test:~# ipmi­sensors ­L Temperature Voltage Current Fan Physical_Security Platform_Security_Violation_Attempt Processor Power_Supply Power_Unit Cooling_Device […]
  • 23. slide 23/37 Example: query sensors with FreeIPMI [root@testserver ~]# ipmimonitoring Record_ID | Sensor Name | Sensor Group | Monitoring Status|  Sensor Units | Sensor Reading [...] 17 | Fan 5              | Fan     | Nominal | RPM | 9052.000000  18 | Fan 6              | Fan     | Nominal | RPM | 8060.000000  19 | PS1 AC Current     | Current | Nominal | A   | 0.124000  20 | PS2 AC Current     | Current | Nominal | A   | 0.992000  [...] 36 | Physical Scrty     | Physical Security | Critical | N/A |                                        'General Chassis Intrusion' [root@testserver ~]# ipmimonitoring Record_ID | Sensor Name | Sensor Group | Monitoring Status|  Sensor Units | Sensor Reading [...] 17 | Fan 5              | Fan     | Nominal | RPM | 9052.000000  18 | Fan 6              | Fan     | Nominal | RPM | 8060.000000  19 | PS1 AC Current     | Current | Nominal | A   | 0.124000  20 | PS2 AC Current     | Current | Nominal | A   | 0.992000  [...] 36 | Physical Scrty     | Physical Security | Critical | N/A |                                        'General Chassis Intrusion'
  • 24. slide 24/37 Example: interpret discrete sensors( FreeIPMI) root@test:~# cat /etc/freeipmi/freeipmi_interpret_sensor.conf […] ## IPMI_Physical_Security  # # IPMI_Physical_Security_No_Event                  Nominal # IPMI_Physical_Security_General_Chassis_Intrusion Critical # IPMI_Physical_Security_Drive_Bay_Intrusion       Critical […] # IPMI_Power_Supply_No_Event                       Nominal # IPMI_Power_Supply_Presence_Detected              Nominal # IPMI_Power_Supply_Power_Supply_Failure_Detected  Critical # IPMI_Power_Supply_Predictive_Failure             Critical # IPMI_Power_Supply_Power_Supply_Input_Lost_AC_DC  Critical […] ## IPMI_Memory # # IPMI_Memory_No_Event                             Nominal # IPMI_Memory_Correctable_Memory_Error             Warning # IPMI_Memory_Uncorrectable_Memory_Error           Critical root@test:~# cat /etc/freeipmi/freeipmi_interpret_sensor.conf […] ## IPMI_Physical_Security  # # IPMI_Physical_Security_No_Event                  Nominal # IPMI_Physical_Security_General_Chassis_Intrusion Critical # IPMI_Physical_Security_Drive_Bay_Intrusion       Critical […] # IPMI_Power_Supply_No_Event                       Nominal # IPMI_Power_Supply_Presence_Detected              Nominal # IPMI_Power_Supply_Power_Supply_Failure_Detected  Critical # IPMI_Power_Supply_Predictive_Failure             Critical # IPMI_Power_Supply_Power_Supply_Input_Lost_AC_DC  Critical […] ## IPMI_Memory # # IPMI_Memory_No_Event                             Nominal # IPMI_Memory_Correctable_Memory_Error             Warning # IPMI_Memory_Uncorrectable_Memory_Error           Critical
  • 25. slide 25/37 IPMI System Event Log (SEL) • stored in non-volatile storage [root@testserver ~]# ipmitool sel elist   40 | 06/21/2010 | 14:29:29 | Power Supply PS1 Status | Power Supply AC lost | Asserted   54 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Fully Redundant   68 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Redundancy Lost   7c | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant [...]  2fc | 06/21/2010 | 15:20:32 | Physical Security Physical Scrty | General Chassis intrusion | Asserted [root@testserver ~]# ipmitool sel elist   40 | 06/21/2010 | 14:29:29 | Power Supply PS1 Status | Power Supply AC lost | Asserted   54 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Fully Redundant   68 | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Redundancy Lost   7c | 06/21/2010 | 14:29:29 | Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant [...]  2fc | 06/21/2010 | 15:20:32 | Physical Security Physical Scrty | General Chassis intrusion | Asserted [root@testserver ~]# ipmitool sel elist Power Supply PS1 Status | Power Supply AC lost | Asserted Power Unit Power Redundancy | Fully Redundant Power Unit Power Redundancy | Redundancy Lost Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant [...] Physical Security Physical Scrty | General Chassis intrusion | Asserted [root@testserver ~]# ipmitool sel elist Power Supply PS1 Status | Power Supply AC lost | Asserted Power Unit Power Redundancy | Fully Redundant Power Unit Power Redundancy | Redundancy Lost Power Unit Power Redundancy | Non­Redundant: Sufficient from Redundant [...] Physical Security Physical Scrty | General Chassis intrusion | Asserted
  • 26. slide 26/37 Agenda 1) IPMI overview 2) Plugin implementation 3) Live demo 4) Common pitfalls
  • 27. slide 27/37 Plugin implementation • Bash script • uses FreeIPMI, gawk # ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg  IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4185.000000 'FAN  2'=4320.000000 'FAN 3'=4590.000000 'FAN 4'=4320.000000 'FAN  A'=4590.000000 'Vcore'=0.712000 '3.3VCC'=3.392000 '12V'=12.190000  'VDIMM'=1.528000 '5VCC'=5.088000 '­12V'=­11.681000 'VBAT'=3.024000  'VSB'=3.344000 'AVCC'=3.408000  # ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg  IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4185.000000 'FAN  2'=4320.000000 'FAN 3'=4590.000000 'FAN 4'=4320.000000 'FAN  A'=4590.000000 'Vcore'=0.712000 '3.3VCC'=3.392000 '12V'=12.190000  'VDIMM'=1.528000 '5VCC'=5.088000 '­12V'=­11.681000 'VBAT'=3.024000  'VSB'=3.344000 'AVCC'=3.408000 
  • 28. slide 28/37 Plugin implementation • Bash script • uses FreeIPMI, gawk # ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg ­v 2 IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4320.000000 'FAN  […]  System Temp = 29.000000 (Status: Nominal) CPU Temp = 'Low' (Status: Nominal) FAN 1 = 4320.000000 (Status: Nominal) FAN 2 = 4320.000000 (Status: Nominal) FAN 3 = 4590.000000 (Status: Nominal) […] AVCC = 3.408000 (Status: Nominal) Chassis Intru = 'OK' (Status: Nominal) PS Status = 'Presence detected' (Status: Nominal)  # ./check_ipmi_sensor ­H 10.10.10.114 ­f /etc/ipmi­config/ipmi.cfg ­v 2 IPMI Status: OK | 'System Temp'=29.000000 'FAN 1'=4320.000000 'FAN  […]  System Temp = 29.000000 (Status: Nominal) CPU Temp = 'Low' (Status: Nominal) FAN 1 = 4320.000000 (Status: Nominal) FAN 2 = 4320.000000 (Status: Nominal) FAN 3 = 4590.000000 (Status: Nominal) […] AVCC = 3.408000 (Status: Nominal) Chassis Intru = 'OK' (Status: Nominal) PS Status = 'Presence detected' (Status: Nominal) 
  • 29. slide 29/37 Plugin implementation • clear illustration in webinterfaces
  • 30. slide 30/37 Agenda 1) IPMI overview 2) Plugin implementation 3) Live demo 4) Common pitfalls
  • 31. slide 31/37 Agenda 1) IPMI overview 2) Plugin implementation 3) Live demo 4) Common pitfalls
  • 32. slide 32/37 Common pitfalls • sensors with state N/A • solution shortest-term: exclude (-x opt.) • solution short-term: FreeIPMI update tkwiki.cc/FreeIPMI-NA-Sensor […] 12 | CPU1 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h' 13 | CPU2 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h'  […] […] 12 | CPU1 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h' 13 | CPU2 Temp | OEM Reserved | N/A | N/A | N/A | 'OEM Event = 0000h'  […]
  • 33. slide 33/37 Common pitfalls • unrecognized events • solution shortest-term: ignore unrec. e. tkwiki.cc/FreeIPMI-Unrec-Event […]  40 | Status | Cable/Interconnect | Nominal | N/A |  'Cable/Interconnect is connected' 41 | RAC Status | Module/Board | N/A | N/A | 'Unrecognized Event =  0001h' 'Unrecognized Event = 0002h' 'Unrecognized Event = 0004h' 42 | OS Watchdog | Watchdog 2 | Nominal | N/A | 'OK' […]   […]  40 | Status | Cable/Interconnect | Nominal | N/A |  'Cable/Interconnect is connected' 41 | RAC Status | Module/Board | N/A | N/A | 'Unrecognized Event =  0001h' 'Unrecognized Event = 0002h' 'Unrecognized Event = 0004h' 42 | OS Watchdog | Watchdog 2 | Nominal | N/A | 'OK' […]  
  • 34. slide 34/37 Agenda 1) IPMI overview 2) Plugin implementation 3) Live demo 4) Common pitfalls some conclusions …
  • 35. slide 35/37 Conclusions (1/2) • Download: www.thomas-krenn.com/en/oss • Mailing List: lists.thomas-krenn.com • Thanks for your contribution: Nikolaus Filus, Timme Katz, Lars Meuser, Sebastian Mörchen, Gustav Olsson, Holger Paschke, Andy Spiegl, Ulrich Zehl
  • 36. slide 36/37 Conclusions (2/2)  Monitor hardware with Icinga & IPMI  Problems? They will tell you!  It'll save you time & money
  • 37. Get German article on the plugin for free at tkwiki.cc/ipmi-plugin Thanks for your time!