[mrtg] CPU Load Monitoring on Linux SMP machines

Peter Wienemann peter.wienemann at physik.rwth-aachen.de
Tue Aug 6 18:27:24 MEST 2002


Hello!

Has anyone made MRTG work to properly monitor the CPU load
on Linux SMP machines (seperate graphs for each CPU)?

I tried this:

------------------------------------------------------
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt

Target[192.168.1.1_cpu0sum]: 
ssCpuRawUser.0&ssCpuRawUser.0:public at 192.168.1.1 + 
ssCpuRawSystem.0&ssCpuRawSystem.0:public at 192.168.1.1 + 
ssCpuRawNice.0&ssCpuRawNice.0:public at 192.168.1.1
RouterUptime[192.168.1.1_cpu0sum]: public at 192.168.1.1
MaxBytes[192.168.1.1_cpu0sum]: 100
Title[192.168.1.1_cpu0sum]: CPU 0 LOAD -- machine.domain.com
PageTop[192.168.1.1_cpu0sum]: <H1>Active CPU 0 Load %</H1>
Unscaled[192.168.1.1_cpu0sum]: ymwd
ShortLegend[192.168.1.1_cpu0sum]: %
YLegend[192.168.1.1_cpu0sum]: CPU Utilization
Legend1[192.168.1.1_cpu0sum]: Active CPU 0 in % (Load)
Legend2[192.168.1.1_cpu0sum]:
Legend3[192.168.1.1_cpu0sum]:
Legend4[192.168.1.1_cpu0sum]:
LegendI[192.168.1.1_cpu0sum]:  Active
LegendO[192.168.1.1_cpu0sum]:
Options[192.168.1.1_cpu0sum]: growright,nopercent

Target[192.168.1.1_cpu1sum]: 
ssCpuRawUser.1&ssCpuRawUser.1:public at 192.168.1.1 + 
ssCpuRawSystem.1&ssCpuRawSystem.1:public at 192.168.1.1 + 
ssCpuRawNice.1&ssCpuRawNice.1:public at 192.168.1.1
RouterUptime[192.168.1.1_cpu1sum]: public at 192.168.1.1
MaxBytes[192.168.1.1_cpu1sum]: 100
Title[192.168.1.1_cpu1sum]: CPU 1 LOAD -- machine.domain.com
PageTop[192.168.1.1_cpu1sum]: <H1>Active CPU 1 Load %</H1>
Unscaled[192.168.1.1_cpu1sum]: ymwd
ShortLegend[192.168.1.1_cpu1sum]: %
YLegend[192.168.1.1_cpu1sum]: CPU Utilization
Legend1[192.168.1.1_cpu1sum]: Active CP1 0 in % (Load)
Legend2[192.168.1.1_cpu1sum]:
Legend3[192.168.1.1_cpu1sum]:
Legend4[192.168.1.1_cpu1sum]:
LegendI[192.168.1.1_cpu1sum]:  Active
LegendO[192.168.1.1_cpu1sum]:
Options[192.168.1.1_cpu1sum]: growright,nopercent
------------------------------------------------------

But both CPU load graphs remains zero.

Cheers, Peter

--
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