<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Accurate CPU Graphs With More Than 1 Processor</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi,<BR>
<BR>
I've spent a few days trying to get MRTG to properly chart<BR>
multi-processor systems where I work. We have machines mostly with at<BR>
least 2 processors, some that are hyper-threaded and some dual cores,<BR>
all running Linux. I spent most of my time trying to figure out how to<BR>
accurately graph the CPU percentage and seem to have things working. I<BR>
was wondering if someone would comment on the config below, i.e. if it<BR>
makes any sense or if it shouldn't be working.<BR>
<BR>
I'm particularly interested in the Target line where it looks like I'm<BR>
able to divide the CPU counters by the number of processors to get an<BR>
accurate graph, and also am wondering if my guess that I don't need<BR>
'gauge' on the Options line since this is a counter and not a simple<BR>
1-100 value. I also read that I should define 'LegendO' but things seem<BR>
to work fine as is.<BR>
<BR>
Hopefully I'm not asking a question that is in the archives, I did look<BR>
but couldn't find an exact answer.<BR>
<BR>
Thanks in advance for your time and expertise!<BR>
<BR>
# this box has 4 dual core CPUs<BR>
LoadMIBs: /usr/share/snmp/mibs/UCD- SNMP-MIB.txt<BR>
Target[leon.cpu]:(ssCpuRawUser.0&ssCpuRawUser.0:public@leon<BR>
+ssCpuRawSystem.0&ssCpuRawSystem.0:public@leon<BR>
+ssCpuRawNice.0&ssCpuRawNice.0:public@leon)/8<BR>
RouterUptime[leon.cpu]: public@leon<BR>
MaxBytes[leon.cpu]: 100<BR>
Title[leon.cpu]: CPU Load<BR>
PageTop[leon.cpu]: <H1>Active CPU Load % leon</H1><BR>
Unscaled[leon.cpu]: ymwd<BR>
ShortLegend[leon.cpu]: %<BR>
YLegend[leon.cpu]: CPU Utilization<BR>
Legend1[ leon.cpu]: Active CPU in % (Load)<BR>
Legend2[leon.cpu]:<BR>
Legend3[leon.cpu]:<BR>
Legend4[leon.cpu]:<BR>
LegendI[leon.cpu]: Active<BR>
LegendO[leon.cpu]: <BR>
Options[leon.cpu]: growright,nopercent<BR>
</FONT>
</P>
</BODY>
</HTML>