[mrtg] Re: Windows SNMP Memory Utilization issues

Craig Humphrey Craig.Humphrey at chapmantripp.com
Wed Sep 13 00:19:06 MEST 2006


Hi Jeff,

Memory utilisation on Windows is a bit naff... The OIDs are dependant on
the number of disk devices attached!

To make sure your config is correct, you're best bet is to do an
snmpwalk of the root OID (.1.3.6.1.2.1.25.2.3.1) and look at the
results.

FYI: an snmpwalk of
.1.3.6.1.2.1.25.2.3.1.2 will give storage types (differentiating between
Floppy, HD, CD, Virtual and RAM)
.1.3.6.1.2.1.25.2.3.1.3 will give drive letters, labels and in the case
of Virt/RAM it just says Virtual Memory or Physical Memory
.1.3.6.1.2.1.25.2.3.1.4 gives the allocation unit size (multiply .5/.6
below by this to get the real totals)
.1.3.6.1.2.1.25.2.3.1.5 gives the total storage size (multiply by .4
above to get actual bytes)
.1.3.6.1.2.1.25.2.3.1.6 gives the total storage used (multiply by .4
above to get actual bytes)
.1.3.6.1.2.1.25.2.3.1.7 give the total storage allocation failures (HD
errors?)

Note: I'm using this against Windows Server 2003 sp1, but I don't think
it's changed since at least Windows 2000 (not sure about NT4).

Don't forget that MAXBYTES will be different for Virtual than Physical.

My .cfg is as follows:
Target[akldev01.memoryUsed]:
.1.3.6.1.2.1.25.2.3.1.6.7&.1.3.6.1.2.1.25.2.3.1.6.8:<COMMUNITY>@akldev01
*
.1.3.6.1.2.1.25.2.3.1.4.7&.1.3.6.1.2.1.25.2.3.1.4.8:<COMMUNITY>@akldev01
MaxBytes1[akldev01.memoryUsed]: 8222932992
MaxBytes2[akldev01.memoryUsed]: 4093116416

I have a floppy (.1), three HD (partitions: .2,.3,.4), two CD/DVD drives
(.5,.6), then the Virt (.7), then Physical RAM (.8), on a 4gig RAM box,
with 4 gig swap.

Hope that helps.

Later'ish
Craig


> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch 
> [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Jeff DeFord
> Sent: Tuesday, September 12, 2006 10:29 AM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Windows SNMP Memory Utilization issues
> 
> All:
> 
> I have searched the web and I have tried to get some useful data so
> that I can implement mrtg monitoring of my widnows server memory
> usage.
> 
> I am getting virtual memory data, but the physical data show '0' and
> this is a server with 8GB of RAM.
> 
> Here is my mrtg.cfg:
> 
> ######################################
> # MEMORY Utilization report for SERVER1
> ######################################
> #
> 
> YLegend[SERVER1.memoryUsed]: Bytes
> withPeak[SERVER1.memoryUsed]: ymw
> Options[SERVER1.memoryUsed]: growright,gauge,nobanner,noarrow
> Target[SERVER1.memoryUsed]:
> .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 at 10.0.34.41
> * 65536

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