[mrtg] monitoring windows 2000 cpu

Pradeep Agrawal pa_kota at yahoo.com
Fri Jan 25 01:53:41 MET 2002


Trying to monitor windows 2000 server for CPU utalization.
Got following error.

E:\installed\mrtg-2.9.17\bin>perl mrtg testcpu.cfg
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.25.3.3.1.2.1)
SNMPv1_Session (remote host: "10.192.18.229" [10.192.18.229].161)
                  community: "public"
                 request ID: 459743056
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at E:/installed/mrtg-2.9.17/bin\..\lib\mrtg2/SNMP_util.pm line 450
SNMPGET Problem for 1.3.6.1.2.1.25.3.3.1.2.1 1.3.6.1.2.1.25.3.3.1.2.1 sysUptime
sysName on public at 10.192.18.229:
 at mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''


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

### 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.cpu]: 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&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&#0;' | 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&#0;"

# 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&#0; </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&#0;' | 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&#0;"

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&#0; </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



Regards

Pradeep Agrawal


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