carlmfischer.com centos server monitoring

My Poweredge 1600sc acts as my main server for my network, running CentOS 5.2. I wanted a way to manage the server, and keep an eye on temperatures, the raid controller, etc. and found out through reading some threads in Dell's Linux-Poweredge archives that Openmanage was used successfully with Centos. My raid controller is an LSI Megaraid Ultra 320-SCSI card, which is equivalent to Dell's PERC 4/SC controller.

Dell has a yum repository providing the necessary files to download and install the OpenManage application. I found this repository from the Dell Community web blog. Once Openmanage was installed, you can use the snmp's found here for gathering stats. That sight is great for tweaking the mrtg.cfg file - which I have done, and is shown below. One of the nice things with Openmanage is you can use a web browser from anywhere on your network. Simply point to the ip address and port 1311 in your web browser (e.g. https://192.168.1.1:1311) to view the status of the disks on the raid controller, read temps and fan rpms, as well as other usefull stuff.

Server cpu temperature

cpu_temp

The mrtg.cfg setup:

# CPU Temperature
Target[cpu_temp]:( .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2&.1.3.6.1.4.1.674.\
10892.1.700.20.1.6.1.2:public@localhost / 10 ) * 1.8 + 32
Options[cpu_temp]: nopercent,growright,gauge
Title[cpu_temp]: CPU Temperature
PageTop[cpu_temp]: <h1>CPU Temperature</h1>
MaxBytes[cpu_temp]: 212
AbsMax[cpu_temp]: 212
YLegend[cpu_temp]: Temp
ShortLegend[cpu_temp]: &deg;F
LegendI[cpu_temp]: CPU Temperature
LegendO[cpu_temp]:
Legend1[cpu_temp]: CPU Temperature

Since the output of the temperature reading is Celsius, I have a calculation in the Target line giving me the Farenheit temperature.

CPU Fan RPM

cpu_fan_rpm

The mrtg.cfg setup:

### CPU FAN RPM
Target[fan3_rpm]:.1.3.6.1.4.1.674.10892.1.700.12.1.6.1.1&.1.3.6.1.4.1.674.\
10892.1.700.12.1.6.1.1:public@localhost
Options[fan3_rpm]: nopercent,growright,gauge
Title[fan3_rpm]: CPU Fan RPM
PageTop[fan3_rpm]: <h1>CPU Fan RPM</h1>
MaxBytes[fan3_rpm]: 15000
YLegend[fan3_rpm]: CPU Fan RPM
ShortLegend[fan3_rpm]:  rpms
LegendI[fan3_rpm]: CPU Fan RPM
LegendO[fan3_rpm]:
Legend1[fan3_rpm]: CPU Fan RPM

rear fan rpm:

rear_fan_rpm

The mrtg.cfg setup:

### Rear FAN RPM
Target[fan_rpm]:.1.3.6.1.4.1.674.10892.1.700.12.1.6.1.3&.1.3.6.1.4.1.674.\
10892.1.700.12.1.6.1.3:public@localhost
Options[fan_rpm]: nopercent,growright,gauge
Title[fan_rpm]: Rear Fan RPM
PageTop[fan_rpm]: <h1>Rear Fan RPM</h1>
MaxBytes[fan_rpm]: 15000
#AbsMax[fan_rpm]: 212
YLegend[fan_rpm]: Rear Fan RPM
ShortLegend[fan_rpm]:  rpms
LegendI[fan_rpm]: Rear Fan RPM
LegendO[fan_rpm]:
Legend1[fan_rpm]: Rear Fan RPM

front fan rpm:

front_fan_rpm

The mrtg.cfg setup:

### Front FAN RPM
Target[fan2_rpm]:.1.3.6.1.4.1.674.10892.1.700.12.1.6.1.2&.1.3.6.1.4.1.674.\
10892.1.700.12.1.6.1.2:public@localhost
Options[fan2_rpm]: nopercent,growright,gauge
Title[fan2_rpm]: Front Fan RPM
PageTop[fan2_rpm]: <h1>Front Fan RPM</h1>
MaxBytes[fan2_rpm]: 15000
YLegend[fan2_rpm]: Front Fan RPM
ShortLegend[fan2_rpm]:  rpms
LegendI[fan2_rpm]: Front Fan RPM
LegendO[fan2_rpm]:
Legend1[fan2_rpm]: Front Fan RPM

A live look at the server's motherboard temp from my mrtg monitoring page:

cpu