[mrtg] Re: SNMP monitoring of Windows CPU/Memory/Disk

Laurence Sanford lauasanf at wilderness.homeip.net
Mon Jun 13 18:06:20 MEST 2005


Try this, watch for wrap, change to match your network numbers, etc. You 
can also find mibs very close to these for drive usage, etc. It took me 
several hours to track down all the win2k mibs I use using snmpbulkwalk 
from my BSD box.

Target[192.168.1.3_hrProcessorLoad.1]: 
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 192.168.1.3:::::2
MaxBytes[192.168.1.3_hrProcessorLoad.1]: 100
Title[192.168.1.3_hrProcessorLoad.1]: CPU LOAD
PageTop[192.168.1.3_hrProcessorLoad.1]: <H1>Active CPU Load %</H1>
Unscaled[192.168.1.3_hrProcessorLoad.1]: ymwd
ShortLegend[192.168.1.3_hrProcessorLoad.1]: %
YLegend[192.168.1.3_hrProcessorLoad.1]: CPU Utilization
Legend1[192.168.1.3_hrProcessorLoad.1]: Active CPU in % (Load)
Legend2[192.168.1.3_hrProcessorLoad.1]: Active CPU in % (Load)
Legend3[192.168.1.3_hrProcessorLoad.1]:
Legend4[192.168.1.3_hrProcessorLoad.1]:
LegendI[192.168.1.3_hrProcessorLoad.1]:  Active
LegendO[192.168.1.3_hrProcessorLoad.1]:  Active
Options[192.168.1.3_hrProcessorLoad.1]: growright,nopercent,gauge
Colours[192.168.1.3_hrProcessorLoad.1]: 
RED#FF0000,BLUE#1000ff,RED2#CC0000,VIOLE
T#ff00ff
XSize[192.168.1.3_hrProcessorLoad.1]: 600
YSize[192.168.1.3_hrProcessorLoad.1]: 200

Target[192.168.1.3_memory]: 
1.3.6.1.4.1.9600.1.1.2.1.0&1.3.6.1.4.1.9600.1.1.2.4.
0:public at 192.168.1.3:::::2 / 1024
MaxBytes[192.168.1.3_memory]: 1500000000
Title[192.168.1.3_memory]: Memory usage
PageTop[192.168.1.3_memory]: <H1>Free and Used Memory</H1>
kMG[192.168.1.3_memory]: k,M,G,T,P,X
YLegend[192.168.1.3_memory]: Memory
ShortLegend[192.168.1.3_memory]: bytes
LegendI[192.168.1.3_memory]: Free Memory
LegendO[192.168.1.3_memory]: Commited Memory
Options[192.168.1.3_memory]: growright,nopercent,gauge
Colours[192.168.1.3_memory]: 
BLUE#33FFFF,BLUE#1000ff,RED2#CC0000,VIOLET#ff00ff
XSize[192.168.1.3_memory]: 600
YSize[192.168.1.3_memory]: 200


On Mon, 13 Jun 2005, Bill Matthews wrote:

> Thanks all.  I'm still having some problems, both with the stock MS
> service, and SNMP Informant.
>
> Maybe my problem is I don't know which MIBs to watch?
>
> In Linux/Unix I would watch:
>
> ssCpuRawUser.0 & ssCpuRawSystem.0 to get CPU utlization
> memTotalReal.0 & memAvailReal.0 to get memory
> memTotalSwap.0 & memAvailSwap.0 to get SWAP
> hrSystemProcesses.0 to get # of processes
> hrStorageSize.whatever & hrStorageUsed.whatever to watch a disk
>
> The only ones that work in W2K/W2K3 are hrSystemProcesses and
> hrStorageSize.  I can't seem to find any CPU, Mem, or Swap MIBs?
>
> Thanks
> BM
>
>
>
> On 6/10/05, PAUL WILLIAMSON <pwilliamson at mandtbank.com> wrote:
>> That might be me, it might not.  I'm neither the owner, nor
>> the developer.  Just a happy user.
>>
>> Having said that, one problem I have is that the broken SNMP
>> that comes with MS servers has some serious drawbacks.
>> Interface indicies change randomly.  The reported free disk
>> space is based on what the drive %full is at on boot, so if you
>> use up space while it's on (duh!, of course you will), it will
>> not catch the changes.  There is no way to do 64 bit
>> counters on gig interfaces.  Memory and process information
>> is spotty at best.  Although some of this has gotten
>> better with 2003, there are few people out there that
>> have jumped to it.
>>
>> SNMP Informant is free too.  You just have to do a tad
>> bit more work to enable it vs. the stock MS one.
>>
>> Paul
>
> --
> 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