[mrtg] Re: Monitor Both CPU on Dual Processor LinuxBox
Cliff
cliff at acsalaska.net
Tue Jun 25 21:57:42 MEST 2002
Hello tony,
Tuesday, June 25, 2002, 8:38:27 AM, you wrote:
tb> Hi Cliff,
tb> It may be a problem with the Linux kernel, as SNMP just grabs the stats
tb> from the kernel itself. Couple of things thta would help knowing:
tb> Linux kernel version you are running
tb> Version of snmpd that you are running.
RH 7.3
Kernel 2.4.18-3, stock as supplied w/ RH7.3
ucd-snmp_4.2.4-3
>>
>> 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
>> LegendO[User_vs_Idle]: Idle
>>
>>
>> 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
>>
--
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
More information about the mrtg
mailing list