Article View: tw.bbs.comp.386bsd
Article #1Re: Why CPU utilization for W2K using snmpget is different from task monitor ?
From: Guido
Date: Thu, 16 Sep 2004 13:57
Date: Thu, 16 Sep 2004 13:57
141 lines
6373 bytes
6373 bytes
fp_andywong@lycos.com (andy wong) wrote in message news:<f8b67f15.0408311912.2651c53c@posting.google.com>...
> Does any know the correct OID to get CPU for W2k using SNMP?
> I used the .1.3.6.2.1.25.3.3.1.2.1 is this correct.
> This seems to use the MIB-2. but when I check again the CPU usage from
> the task monitor. Both seems to say different value.
> Does any know why ?
I want to know the oid also. I have testing some mrtg cfg's it does
work on my local server but want the same info of an other server. And
thats NOT working.
I'm using Windows 2003 Ent. edition.
Here's my working mrtg.cfg to grab some data from my local web server:
#########################################################################
# MRTG Config for monitoring Windows 2003 web server
# created by Mark Burnett (mb@xato.net)
# Global Options
WorkDir: C:\Inetpub\wwwroot\mrtg\SERV-WEB-01
runasdaemon: yes
Interval: 5
# Common Options
# Options[_]: growright, bits
AddHead[_]: <style type="text/css"> <!--
a { color: #263F66; text-decoration: none; }
a:hover { color: #785B41; text-decoration: none; }
body { color: black; font: 8pt Verdana, Geneva, Arial, Helvetica,
sans-serif; }
h1 { font: bold 16pt Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #342A21; }
h2 { color: #666666; font: bold 12pt Verdana, Geneva, Arial,
Helvetica, sans-serif; }
h3 { color: black; font: bold 9pt Verdana, Geneva, Arial, Helvetica,
sans-serif; }
table { border: 0; }
td { background-color: #E7DDD3; border: 0px solid #FFFFFF; color:
Black; font: 8pt Verdana, Geneva, Arial, Helvetica, sans-serif;
vertical-align: top; }
th { background-color: #735A4A; color: White; font: 11px Verdana,
arial, geneva, helvetica, sans-serif; border: 0; font-weight: bold;
text-align: left; }
-->
</style>
Background[_]: #F6F1EE
XSize[_]: 370
YSize[_]: 60
WithPeak[_]: ymw
YLegend[localhost.Traffic]: Bytes
Options[localhost.Traffic]: growright,nobanner,noarrow
Target[localhost.Traffic]: /127.0.0.1:public@localhost
Title[localhost.Traffic]: Traffic
MaxBytes[localhost.Traffic]: 12500000
PageTop[localhost.Traffic]: <H1>Network Traffic</H1>
YLegend[localhost.CPU]: % Usage
Options[localhost.CPU]: growright,gauge,nobanner,noarrow
Target[localhost.CPU]:
.1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.2:public@localhost
MaxBytes[localhost.CPU]: 100
Title[localhost.CPU]: CPU Load
ShortLegend[localhost.CPU]: %
Legend1[localhost.CPU]: % CPU 1 Usage
Legend2[localhost.CPU]: % CPU 2 Usage
Legend3[localhost.CPU]: Max CPU 1 Usage
Legend4[localhost.CPU]: Max CPU 2 Usage
LegendI[localhost.CPU]: CPU 1 Usage:
LegendO[localhost.CPU]: CPU 2 Usage:
PageTop[localhost.CPU]: <H1>CPU Utilization</H1>
YLegend[localhost.bytes-mem]: Bytes
WithPeak[localhost.bytes-mem]: ymw
Options[localhost.bytes-mem]: growright,gauge,nobanner,noarrow
Target[localhost.bytes-mem]:
.1.3.6.1.2.1.25.2.3.1.6.4&.1.3.6.1.2.1.25.2.3.1.6.5:public@localhost *
65536
MaxBytes[localhost.bytes-mem]: 1000000000
Title[localhost.bytes-mem]: Memory Usage
ShortLegend[localhost.bytes-mem]: B
Legend1[localhost.bytes-mem]: Physical Memory Used
Legend2[localhost.bytes-mem]: Virtual Memory Used
Legend3[localhost.bytes-mem]: Max Physical Memory Used
Legend4[localhost.bytes-mem]: Max Virtual Memory Used
LegendI[localhost.bytes-mem]: Physical Memory:
LegendO[localhost.bytes-mem]: Virtual Memory:
PageTop[localhost.bytes-mem]: <H1>Memory Usage</H1>
YLegend[localhost.ICMP]: Msgs
WithPeak[localhost.ICMP]: ymw
Options[localhost.ICMP]: growright,nobanner,noarrow
Target[localhost.ICMP]:
.1.3.6.1.2.1.5.1.0&.1.3.6.1.2.1.5.14.0:public@localhost
MaxBytes[localhost.ICMP]: 100000
Title[localhost.ICMP]: ICMP Messages
ShortLegend[localhost.ICMP]: Conn.
Legend1[localhost.ICMP]: ICMP In
Legend2[localhost.ICMP]: ICMP Out
Legend3[localhost.ICMP]: Max ICMP In
Legend4[localhost.ICMP]: Max ICMP Out
LegendI[localhost.ICMP]: ICMP In:
LegendO[localhost.ICMP]: ICMP Out:
PageTop[localhost.ICMP]: <H1>ICMP Messages</H1>
YLegend[localhost.TCP]: Number
WithPeak[localhost.TCP]: ymw
Options[localhost.TCP]: growright,gauge,nobanner,noarrow
Target[localhost.TCP]:
.1.3.6.1.2.1.6.9.0&.1.3.6.1.2.1.6.7.0:public@localhost
MaxBytes[localhost.TCP]: 100000
Title[localhost.TCP]: TCP Connections
ShortLegend[localhost.TCP]: Conn.
Legend1[localhost.TCP]: TCP Established
Legend2[localhost.TCP]: TCP Failures
Legend3[localhost.TCP]: Max TCP Established
Legend4[localhost.TCP]: Max TCP Failures
LegendI[localhost.TCP]: TCP Established:
LegendO[localhost.TCP]: TCP Failures:
PageTop[localhost.TCP]: <H1>TCP Connections</H1>
YLegend[localhost.Storage]: % Disk
WithPeak[localhost.Storage]: ymw
Options[localhost.Storage]: growright,gauge,nobanner,noarrow
Target[localhost.Storage]:
.1.3.6.1.2.1.25.2.3.1.6.2&.1.3.6.1.2.1.25.2.3.1.6.2:public@localhost /
.1.3.6.1.2.1.25.2.3.1.5.2&.1.3.6.1.2.1.25.2.3.1.6.2:public@localhost *
100
MaxBytes[localhost.Storage]: 523444000
Title[localhost.Storage]: Disk Space Used
ShortLegend[localhost.Storage]: %
Legend1[localhost.Storage]: C Drive
Legend2[localhost.Storage]: D Drive
Legend3[localhost.Storage]: Max C Drive
Legend4[localhost.Storage]: Max D Drive
LegendI[localhost.Storage]: C:
LegendO[localhost.Storage]: D:
PageTop[localhost.Storage]: <H1>Disk Usage</H1>
Technical Details
Message-ID:
<5105f44b.0409160557.5bb6d937@posting.google.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mailReferences:
<f8b67f15.0408311912.2651c53c@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1079af,8f0868ce9e0e7cc8 X-Google-Thread: 10f2ac,8f0868ce9e0e7cc8 X-Google-Thread: 1130dd,8f0868ce9e0e7cc8 X-Google-Attributes: gid1079af,gid10f2ac,gid1130dd,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail From: guido@forestbergen.com (Guido) Newsgroups: tw.bbs.comp.386bsd,comp.dcom.net-management,cn.bbs.comp.unix.bsd Subject: Re: Why CPU utilization for W2K using snmpget is different from task monitor ? Date: 16 Sep 2004 06:57:38 -0700 Organization: http://groups.google.com Lines: 141 Message-ID: <5105f44b.0409160557.5bb6d937@posting.google.com> References: <f8b67f15.0408311912.2651c53c@posting.google.com> NNTP-Posting-Host: 213.73.139.87 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1095343058 25072 127.0.0.1 (16 Sep 2004 13:57:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 16 Sep 2004 13:57:38 +0000 (UTC)