[mrtg] Re: Monitor Both CPU on Dual Processor LinuxBox

tony bourke tony at vegan.net
Tue Jun 25 18:38:27 MEST 2002


Hi Cliff,

It may be a problem with the Linux kernel, as SNMP just grabs the stats 
from the kernel itself.  Couple of things thta would help knowing:

Linux kernel version you are running
Version of snmpd that you are running.


Cheers,

Tony






On Tue, 25 Jun 2002, Cliff wrote:

> 
> Hiya folks.
> 
> MRTG works fine when monitoring CPU usage if
> box is not in dual processor mode.
> 
> When I switch the box to SMP mode, % idle drops to zero.
> 
> http://windmere.org/homenet/windmere/cpu_load/
> 
> (First graph on the page)
> (Blue is idle - which dropped to zero when I enabled SMP mode.)
> 
> What do I need to change when I switch to SMP mode?
> The MRTG config?
> Or the snmpd daemon?
> 
> Anyone else sucessfully monitoring both CPUs using
> one graph for each CPU?
> 
> Here's the relevant parts of the mrtg config:
> (Works fine for monitoring the CPU when in 1 CPU mode)
> 
> #User vs. Idle
> Title[User_vs_Idle]: User vs Idle CPU Load
> PageTop[User_vs_Idle]: <H1>User vs. Idle CPU Load</H1>
> Target[User_vs_Idle]: ssCpuRawUser.0&ssCpuRawIdle.0:public at 192.168.1.222
> AbsMax[User_vs_Idle]: 100
> MaxBytes1[User_vs_Idle]: 75
> MaxBytes2[User_vs_Idle]: 50
> Legend1[User_vs_Idle]: Avg. User CPU %
> Legend2[User_vs_Idle]: Avg. Idle CPU %
> Legend3[User_vs_Idle]: Peak User CPU %
> Legend4[User_vs_Idle]: Peak Idle %
> LegendI[User_vs_Idle]: User&nbsp;
> LegendO[User_vs_Idle]: Idle&nbsp;
> 
> 
> Best regards,
>  Cliff
>  mailto:cliff at acsalaska.net
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 

-- 
-------------- -- ---- ---- --- - - - -  -  -- -  -  -  -   -     -
Tony Bourke				tony at vegan.net


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list