服务器硬件监控
5.2. IPMI (Intelligent Platform Management Interface)
OpenIPMI:http://openipmi.sourceforge.net/ Ipmitool: http://ipmitool.sourceforge.net/ ipmiutil: http://ipmiutil.sourceforge.net/
5.2.1. OpenIPMI
# yum install OpenIPMI
start
/etc/init.d/ipmi start Starting ipmi drivers: [ OK ]
5.2.2. freeipmi
# yum install freeipmi
5.2.2.1. ipmiping
# ipmiping 172.16.5.52 ipmiping 172.16.5.52 (172.16.5.52) response received from 172.16.5.52: rq_seq=57 response received from 172.16.5.52: rq_seq=58 response received from 172.16.5.52: rq_seq=59 response received from 172.16.5.52: rq_seq=60 response received from 172.16.5.52: rq_seq=61 ^C--- ipmiping 172.16.5.52 statistics --- 5 requests transmitted, 5 responses received in time, 0.0% packet loss
5.2.2.2. ipmimonitoring
# ipmimonitoring -h 172.16.1.23 -u root -pcalvin Caching SDR repository information: /root/.freeipmi/sdr-cache/sdr-cache-J10-51-Memcache-0.172.16.5.23 Caching SDR record 125 of 125 (current record ID 125) Record_ID | Sensor Name | Sensor Group | Monitoring Status| Sensor Units | Sensor Reading 7 | Ambient Temp | Temperature | Nominal | C | 27.000000 9 | CMOS Battery | Battery | Nominal | N/A | 'OK' 10 | VCORE PG | Voltage | Nominal | N/A | 'State Deasserted' 11 | VCORE PG | Voltage | Nominal | N/A | 'State Deasserted' 13 | 1.5V PG | Voltage | Nominal | N/A | 'State Deasserted' 14 | 1.8V PG | Voltage | Nominal | N/A | 'State Deasserted' 15 | 3.3V PG | Voltage | Nominal | N/A | 'State Deasserted' 16 | 5V PG | Voltage | Nominal | N/A | 'State Deasserted' 17 | 0.75VTT PG | Voltage | Nominal | N/A | 'State Deasserted' 19 | HEATSINK PRES | Entity Presence | Nominal | N/A | 'Entity Present' 20 | iDRAC6 Ent PRES | Entity Presence | Nominal | N/A | 'Entity Present' 21 | USB CABLE PRES | Entity Presence | Nominal | N/A | 'Entity Present' 22 | STOR ADAPT PRES | Entity Presence | Nominal | N/A | 'Entity Present' 23 | RISER2 PRES | Entity Presence | Nominal | N/A | 'Entity Present' 24 | RISER1 PRES | Entity Presence | Nominal | N/A | 'Entity Present' 25 | 0.75 VTT PG | Voltage | Nominal | N/A | 'State Deasserted' 26 | MEM PG | Voltage | Nominal | N/A | 'State Deasserted' 27 | MEM PG | Voltage | Nominal | N/A | 'State Deasserted' 28 | 0.9V PG | Voltage | Nominal | N/A | 'State Deasserted' 29 | VTT PG | Voltage | Nominal | N/A | 'State Deasserted' 30 | VTT PG | Voltage | Nominal | N/A | 'State Deasserted' 31 | 1.8 PLL PG | Voltage | Nominal | N/A | 'State Deasserted' 32 | 1.8 PLL PG | Voltage | Nominal | N/A | 'State Deasserted' 33 | 8.0V PG | Voltage | Nominal | N/A | 'State Deasserted' 34 | 1.1V PG | Voltage | Nominal | N/A | 'State Deasserted' 35 | 1.0V LOM PG | Voltage | Nominal | N/A | 'State Deasserted' 36 | 1.0V AUX PG | Voltage | Nominal | N/A | 'State Deasserted' 37 | 1.05V PG | Voltage | Nominal | N/A | 'State Deasserted' 38 | FAN MOD 1A RPM | Fan | Nominal | RPM | 5040.000000 39 | FAN MOD 2A RPM | Fan | Nominal | RPM | 7800.000000 40 | FAN MOD 3A RPM | Fan | Nominal | RPM | 8040.000000 41 | FAN MOD 4A RPM | Fan | Nominal | RPM | 8760.000000 42 | FAN MOD 5A RPM | Fan | Nominal | RPM | 8640.000000 43 | FAN MOD 6A RPM | Fan | Nominal | RPM | 5040.000000 44 | FAN MOD 1B RPM | Fan | Nominal | RPM | 3840.000000 45 | FAN MOD 2B RPM | Fan | Nominal | RPM | 6000.000000 46 | FAN MOD 3B RPM | Fan | Nominal | RPM | 6120.000000 47 | FAN MOD 4B RPM | Fan | Nominal | RPM | 6600.000000 48 | FAN MOD 5B RPM | Fan | Nominal | RPM | 6600.000000 49 | FAN MOD 6B RPM | Fan | Nominal | RPM | 3840.000000 50 | Presence | Entity Presence | Nominal | N/A | 'Entity Present' 51 | Presence | Entity Presence | Nominal | N/A | 'Entity Present' 52 | Presence | Entity Presence | Nominal | N/A | 'Entity Present' 53 | Presence | Entity Presence | Nominal | N/A | 'Entity Present' 54 | Presence | Entity Presence | Nominal | N/A | 'Entity Present' 55 | Status | Processor | Nominal | N/A | 'Processor Presence detected' 56 | Status | Processor | Nominal | N/A | 'Processor Presence detected' 57 | Status | Power Supply | Nominal | N/A | 'Presence detected' 58 | Status | Power Supply | Critical | N/A | 'Presence detected' 'Power Supply i