[mrtg] Re: SNMP monitoring of Windows CPU/Memory/Disk
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.
.1.9600.1.1.5.126.96.36.199:public at 192.168.1.3:::::2
Title[192.168.1.3_hrProcessorLoad.1]: CPU LOAD
PageTop[192.168.1.3_hrProcessorLoad.1]: <H1>Active CPU Load %</H1>
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)
0:public at 192.168.1.3:::::2 / 1024
Title[192.168.1.3_memory]: Memory usage
PageTop[192.168.1.3_memory]: <H1>Free and Used Memory</H1>
LegendI[192.168.1.3_memory]: Free Memory
LegendO[192.168.1.3_memory]: Commited Memory
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?
> 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.
> 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
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg