[mrtg] Re: windows 2000 cpu load stuck at 1%

Paul C. Williamson pwilliamson at mandtbank.com
Fri Jan 25 04:34:01 MET 2002


This will definitely not work.

The line:

Target[10.192.18.229.cpu]: 1.3.6.1.2.1.25.3.3.1.2.1:public at 10.192.18.229:

does not follow the proper format.  You have three 
choices.

1) Find an OID to pair with this one so the resulting 
target looks like this:

1.3.6.1.2.1.25.3.3.1.2.1&some.other.oid:public at 10.192.18.229:

2) Find an OID that always returns zero and put it 
first (green) or last (blue).

3) Duplicate the OID, joining them together with & 
like so:

1.3.6.1.2.1.25.3.3.1.2.1&1.3.6.1.2.1.25.3.3.1.2.1:public at 10.192.18.229:

You need two OIDs.  No getting around it.

Paul
>>> "Pradeep Agrawal" <pa_kota at yahoo.com> 01/24/02 20:57 PM >>>
Hi ,

I went one step further. Now my problem is MRTG showing just 1% cpu load irrespective of actual CPU load showed by task manager performance monitor.

Here is my CFg file
# Created by 
# cfgmaker --host-template=cput.pl public at 10.192.18.229 --global 'WorkDir c:\inetpub\wwwroot\mrtg\testcpu' --output testcpu.cfg


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata
RunAsDaemon: yes

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits


######################################################################
# System: PAGRAWALL2KS
# Description: Hardware: x86 Family 6 Model 8 Stepping 10 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Uniprocessor Free)
# Contact: Pradeep Agrawal
# Location: 1-1-115
######################################################################
#
YLegend[10.192.18.229.cpu]: Percentage CPU load
ShortLegend[10.192.18.229.cpu]: %
Legend1[10.192.18.229.cp]: CPU load in %
Legend2[10.192.18.229.cpu]: 
Legend3[10.192.18.229.cpu]: Max Observed CPU load
Legend4[10.192.18.229.cpu]: 
LegendI[10.192.18.229.cpu]: *CPU Load:
LegendO[10.192.18.229.cpu]: 
WithPeak[10.192.18.229.cpu]: ywm
MaxBytes[10.192.18.229.cpu]: 100
Options[10.192.18.229.cpu]: growright, gauge, nopercent
Title[10.192.18.229.cpu]: 10.192.18.229 CPU load
Target[10.192.18.229.cpu]: 1.3.6.1.2.1.25.3.3.1.2.1:public at 10.192.18.229:
PageTop[10.192.18.229.cpu]: <H1>10.192.18.229 CPU load</H1>
   <TABLE>
     <TR><TD>System:</TD><TD>10.192.18.229 in 1-1-115</TD></TR>
     <TR><TD>Maintainer:</TD><TD>Pradeep Agrawal</TD></TR>
     <TR><TD VALIGN="top">Description:</TD><TD>Hardware: x86 Family 6 Model 8 Stepping 10 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Uniprocessor Free)</TD></TR>
     <TR><TD>Resource:</TD><TD>CPU.</TD></TR>
   </TABLE>


### Interface 1 >> Descr: 'MS TCP Loopback interface ' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
# 
# Target[10.192.18.229_1]: 1:public at 10.192.18.229:
# SetEnv[10.192.18.229_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="MS TCP Loopback interface "
# MaxBytes[10.192.18.229_1]: 1250000
# Title[10.192.18.229_1]: Traffic Analysis for 1 -- PAGRAWALL2KS
# PageTop[10.192.18.229_1]: <H1>Traffic Analysis for 1 -- PAGRAWALL2KS</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>PAGRAWALL2KS in 1-1-115</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>Pradeep Agrawal</TD></TR>
#    <TR><TD>Description:</TD><TD>MS TCP Loopback interface   </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>softwareLoopback (24)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD></TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
#    <TR><TD>Ip:</TD>         <TD>127.0.0.1 (pagrawall2ks)</TD></TR>
#  </TABLE>


### Interface 16777219 >> Descr: '3Com 10/100 Mini PCI Ethernet Adapter ' | Name: '' | Ip: '10.192.18.229' | Eth: '00-01-03-8b-0b-4a' ##

Target[10.192.18.229_16777219]: 16777219:public at 10.192.18.229:
SetEnv[10.192.18.229_16777219]: MRTG_INT_IP="10.192.18.229" MRTG_INT_DESCR="3Com 10/100 Mini PCI Ethernet Adapter "
MaxBytes[10.192.18.229_16777219]: 12500000
Title[10.192.18.229_16777219]: Traffic Analysis for 16777219 -- PAGRAWALL2KS
PageTop[10.192.18.229_16777219]: <H1>Traffic Analysis for 16777219 -- PAGRAWALL2KS</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>PAGRAWALL2KS in 1-1-115</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Pradeep Agrawal</TD></TR>
   <TR><TD>Description:</TD><TD>3Com 10/100 Mini PCI Ethernet Adapter   </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>10.192.18.229 (pagrawall2ks)</TD></TR>
 </TABLE>

WorkDir: c:\inetpub\wwwroot\mrtg\testcpu



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



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