[CentOS] cpu load monitoring

Fri Jan 23 16:21:06 UTC 2009
Steve Lindemann <steve at marmot.org>

Dave Stevens wrote:
>>>snip<<<<
> bandwidth requirements but I would like to check the cpu load. I can not be 
> at the server during the test and am interested in knowing if there is 
> logging of cpu load available. Anyone have experience with this? 
> Recommendations?

I've been using MRTG for ages to monitor cpu load and happily recommend 
it for all manner of monitoring (not just routers 8^).  MRTG can be 
found at:
http://oss.oetiker.ch/mrtg/index.en.html

...and the program to pass cpu load to mrtg can be found at:
http://oss.oetiker.ch/mrtg/pub/contrib/linux_loadavg_mrtg.tar.gz

...my mrtg.cfg for this bit
~~~~~~~~~~~~~~~~~~~~~~~~~~
#### Global Config Options
WithPeak[_]: wmy
### loadavg
Target[loadavg]: `/usr/local/bin/linux_loadavg_mrtg`
MaxBytes[loadavg]: 50
Title[loadavg]: Load Average
PageTop[loadavg]: <h2>Load Average on Email Server</h2>
Options[loadavg]: growright,gauge,absolute,nopercent
YLegend[loadavg]: Load Average
ShortLegend[loadavg]: unit
Legend1[loadavg]: Load Average (1min)
Legend2[loadavg]: n/a
Legend3[loadavg]: Maximal 5 Minute Load Average
Legend4[loadavg]: n/a
LegendI[loadavg]:  Value:
LegendO[loadavg]:  n/a:
~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Steve Lindemann                         __
Network Administrator                  //\\  ASCII Ribbon Campaign
Marmot Library Network, Inc.           \\//  against HTML/RTF email,
http://www.marmot.org                  //\\  vCards & M$ attachments
+1.970.242.3331 x116