[mrtg] Re: CPU Usage - Windows 2003 Server

Wixted, Joe JWixted at osv.com
Sat May 14 13:53:20 MEST 2005


Your best bet is to use the SNMP Informant software that is available at
http://www.snmp-informant.com/.

I use it to monitor about 40 multiprocessor Windows 2003 servers, and it
works quite well.  Here's the config section for a dual processor
machine (you'll notice there are two sections commented out, those
represent the per processor combined totals, which didn't seem to work
well.  Never got around to figuring it out.):

# CPU
Target[Advantage.cpu]:
.1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108&.1.3.6.1.4.1.9600.1.1
.5.1.5.6.95.84.111.116.97.108:public at x.x.x.x
Title[Advantage.cpu]:Advantage % Processor Time (Total)
RouterUptime[Advantage.cpu]: public at x.x.x.x
Pagetop[Advantage.cpu]: <H1>Advantage % Processor Time (Total)</H1>
MaxBytes[Advantage.cpu]: 100                                  
Unscaled[Advantage.cpu]: dwmy
# Options[Advantage.cpu]: gauge, nopercent,growright, integer, noo
Options[Advantage.cpu]: gauge,growright
WithPeak[Advantage.cpu]: wmy
YLegend[Advantage.cpu]: % Utilization
ShortLegend[Advantage.cpu]:%
LegendI[Advantage.cpu]: &nbsp;5 Min: 
routers.cgi*Mode[Advantage.cpu]: generic

Target[Advantage.cpu1]:
1.3.6.1.4.1.9600.1.1.5.1.5.1.48&1.3.6.1.4.1.9600.1.1.5.1.5.1.48:public at x
.x.x.x
Title[Advantage.cpu1]:Advantage CPU 1 % Processor Time (Total)
RouterUptime[Advantage.cpu1]: public at x.x.x.x
Pagetop[Advantage.cpu1]: <H1>Advantage CPU 1 % Processor Time
(Total)</H1>
MaxBytes[Advantage.cpu1]: 100                                  
Unscaled[Advantage.cpu1]: dwmy
# Options[Advantage.cpu1]: gauge, nopercent,growright, integer, noo
Options[Advantage.cpu1]: gauge,growright
WithPeak[Advantage.cpu1]: wmy
YLegend[Advantage.cpu1]: % Utilization
ShortLegend[Advantage.cpu1]:%
LegendI[Advantage.cpu1]: &nbsp;5 Min: 

Target[Advantage.cpu2]:
1.3.6.1.4.1.9600.1.1.5.1.5.1.49&1.3.6.1.4.1.9600.1.1.5.1.5.1.49:public at x
.x.x.x 
Title[Advantage.cpu2]:Advantage CPU 2 % Processor Time (Total)
RouterUptime[Advantage.cpu2]: public at x.x.x.x
Pagetop[Advantage.cpu2]: <H1>Advantage CPU 2 % Processor Time
(Total)</H1>
MaxBytes[Advantage.cpu2]: 100                                  
Unscaled[Advantage.cpu2]: dwmy
# Options[Advantage.cpu2]: gauge, nopercent,growright, integer, noo
Options[Advantage.cpu2]: gauge,growright
WithPeak[Advantage.cpu2]: wmy
YLegend[Advantage.cpu2]: % Utilization
ShortLegend[Advantage.cpu2]:%
LegendI[Advantage.cpu2]: &nbsp;5 Min: 

# Target[Advantage.cpu1-2]:
1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108&1.3.6.1.4.1.9600.1.1.5
.1.5.6.95.84.111.116.97.108:public at x.x.x.x
# Title[Advantage.cpu1-2]:Advantage CPU 1 & 2 % Processor Time (Total)
# RouterUptime[Advantage.cpu1-2]: public at x.x.x.x
# Pagetop[Advantage.cpu1-2]: <H1>Advantage CPU 1 & 2 % Processor Time
(Total)</H1>
# MaxBytes[Advantage.cpu1-2]: 100                                  
# Unscaled[Advantage.cpu1-2]: dwmy
# # Options[Advantage.cpu1-2]: gauge, nopercent,growright, integer, noo
# Options[Advantage.cpu1-2]: gauge,growright
# WithPeak[Advantage.cpu1-2]: wmy
# YLegend[Advantage.cpu1-2]: % Utilization
# ShortLegend[Advantage.cpu1-2]:%
# LegendI[Advantage.cpu1-2]: &nbsp;5 Min: 

Target[Advantage.cpu3]:
1.3.6.1.4.1.9600.1.1.5.1.5.1.50&1.3.6.1.4.1.9600.1.1.5.1.5.1.50:public at x
.x.x.x
Title[Advantage.cpu3]:Advantage CPU 3 % Processor Time (Total)
RouterUptime[Advantage.cpu3]: public at x.x.x.x
Pagetop[Advantage.cpu3]: <H1>Advantage CPU 3 % Processor Time
(Total)</H1>
MaxBytes[Advantage.cpu3]: 100                                  
Unscaled[Advantage.cpu3]: dwmy
# Options[Advantage.cpu3]: gauge, nopercent,growright, integer, noo
Options[Advantage.cpu3]: gauge,growright
WithPeak[Advantage.cpu3]: wmy
YLegend[Advantage.cpu3]: % Utilization
ShortLegend[Advantage.cpu3]:%
LegendI[Advantage.cpu3]: &nbsp;5 Min: 

Target[Advantage.cpu4]:
1.3.6.1.4.1.9600.1.1.5.1.5.1.51&1.3.6.1.4.1.9600.1.1.5.1.5.1.51:public at x
.x.x.x
Title[Advantage.cpu4]:Advantage CPU 4 % Processor Time (Total)
RouterUptime[Advantage.cpu4]: public at x.x.x.x
Pagetop[Advantage.cpu4]: <H1>Advantage CPU 4 % Processor Time
(Total)</H1>
MaxBytes[Advantage.cpu4]: 100                                  
Unscaled[Advantage.cpu4]: dwmy
# Options[Advantage.cpu4]: gauge, nopercent,growright, integer, noo
Options[Advantage.cpu4]: gauge,growright
WithPeak[Advantage.cpu4]: wmy
YLegend[Advantage.cpu4]: % Utilization
ShortLegend[Advantage.cpu4]:%
LegendI[Advantage.cpu4]: &nbsp;5 Min: 

# Target[Advantage.cpu3-4]:
1.3.6.1.4.1.9600.1.1.5.1.5.1.50&1.3.6.1.4.1.9600.1.1.5.1.5.1.50:public at x
.x.x.x +
1.3.6.1.4.1.9600.1.1.5.1.5.1.51&1.3.6.1.4.1.9600.1.1.5.1.5.1.51:public at x
.x.x.x 
# Title[Advantage.cpu3-4]:Advantage CPU 3 & 4 % Processor Time (Total)
# RouterUptime[Advantage.cpu3-4]: public at x.x.x.x
# Pagetop[Advantage.cpu3-4]: <H1>Advantage CPU 3 & 4 % Processor Time
(Total)</H1>
# MaxBytes[Advantage.cpu3-4]: 100                                  
# Unscaled[Advantage.cpu3-4]: dwmy
# # Options[Advantage.cpu3-4]: gauge, nopercent,growright, integer, noo
# Options[Advantage.cpu3-4]: gauge,growright
# WithPeak[Advantage.cpu3-4]: wmy
# YLegend[Advantage.cpu3-4]: % Utilization
# ShortLegend[Advantage.cpu3-4]:%
# LegendI[Advantage.cpu3-4]: &nbsp;5 Min:

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Jason Williard
Sent: Saturday, May 14, 2005 3:06 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] CPU Usage - Windows 2003 Server

I spent most of today working with several different methods of
monitoring
the CPU usage on one of my Windows 2003 servers.  The most common method
I
found is listed below.  However, I have been unable to get this to work
at
all.  I am hoping that someone has some experience with this and could
offer
some advice.

Current Configuration:
  YLegend[myhost.processorLoad]: % Utilization
  Options[myhost.processorLoad]: growright,gauge,integer
  Target[myhost.processorLoad]:
.1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.2&.1.3.6.1.2.1.25.3.3.
1.2.
3&.1.3.6.1.2.1.25.3.3.1.2.4:comm at localhost
  MaxBytes[myhost.processorLoad]: 523444000
  Title[myhost.processorLoad]: my.host.domain: NT Processor Load
  ShortLegend[myhost.processorLoad]: %
  Legend1[myhost.processorLoad]: Proc Load in next minute
  Legend2[myhost.processorLoad]: Proc Load in next minute
  Legend3[myhost.processorLoad]: Maximal 5 Minute Proc Load
  Legend4[myhost.processorLoad]: Maximal 5 Minute Proc Load
  LegendI[myhost.processorLoad]: &nbsp;Load:
  LegendO[myhost.processorLoad]: &nbsp;Load:


The above results in an error because I have too many OIDs in the
Target[].
The problem is, my server has 2 procs running hyperthreading so there
are
virtually 4 processors to monitor.  If I drop the last two, it appears
to
work but show 0 load.

Any ideas?


---
Thank You
Jason Williard
Systems Administrator
PCSafe, Inc.
 
 


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list