[mrtg] Graphing Virtual Memory in Win2000
Jeffrey Wilkinson
jeff at ozline.net
Thu Nov 20 15:41:05 MET 2003
I'm using MRTG to monitor utilized memory and virtual memory on 6 servers, all
completely identical in configuration. Using snmpget, I have manually checked
each OID being used on each machine, and have confirmed each is returning the
correct value. Further, I have cut and pasted the mrtg config entries for
each host to assure consistency, being careful to change the names and IP
addresses for each.
For some reason, there is one host for which graphing fails. I have double,
triple, quadruple checked the mrgt.cfg entry, and even manually checked the
OIDs using snmpget several times, and the correct values are being returned.
Yet graphing still fails. The other 5 hosts graph perfectly, and as I said,
each machine is identical in both hardware and software config.
Shown below is the config used (ver. 2.10.5) and I have tried with, and
without, the leading {dot} in the target OIDs. Any clues what might be wrong?
In case somebody asks, I'm graphing the total virtual memory solely for the
purpose of having a flat blue line at the top of the chart for the visual
reference it gives, since it prevents the graph from scaling down when memory
utilizaiton is low. (The Unscaled uption does not seem to work when using
very large integers, such as memory bytes on a machine whose total virtual
memory is 5 GB.)
TIA for any help.
---------------------------------------
## Memory used - .1.3.6.1.2.1.25.2.3.1.6.6
## Total memory available (virtual) .1.3.6.1.2.1.25.2.3.1.5.6
## Multiplier (65536) to convert to bytes - .1.3.6.1.2.1.25.2.3.1.4.6
YLegend[gamma.memoryUsed]: System Memory
Options[gamma.memoryUsed]: gauge,growright,integer
Target[gamma.memoryUsed]:
1.3.6.1.2.1.25.2.3.1.6.6&1.3.6.1.2.1.25.2.3.1.5.6:dcsnmp at 10.192.131.74*1.3.6.1
.2.1.25.2.3.1.4.6&1.3.6.1.2.1.25.2.3.1.4.6:dcsnmp at 10.192.131.74
MaxBytes[gamma.memoryUsed]: 2146873344
Title[gamma.memoryUsed]: test-mem2: Memory Used
Legend1[gamma.memoryUsed]: Physical
Legend2[gamma.memoryUsed]: Virtual
Legend3[gamma.memoryUsed]: Max Physical
Legend4[gamma.memoryUsed]: Max Virtual
LegendI[gamma.memoryUsed]: Phy
LegendO[gamma.memoryUsed]: Vir
PageTop[gamma.memoryUsed]: <H1>Memory Utilization</H1>
<TABLE>
<TR><TD>System:</TD><TD>test-mem2</TD></TR>
<TR><TD>Description</TD><TD>Memory Utilization</TD></TR>
</TABLE>
Here is an except from the mrtg log file for a host for which graphing WORKS:
1069338956 894697472 5198577664
1069338956 894697472 5198577664 894697472 5198577664
1069338657 708902912 5198577664 708902912 5198577664
1069338600 710126250 5198577664 715456512 5198577664
1069338300 707529277 5198577664 715456512 5198577664
1069338000 636056589 5198577664 672989184 5198577664
1069337700 485221990 5198577664 528220160 5198577664
1069337400 506821563 5198577664 528220160 5198577664
1069337100 402453299 5198577664 411500544 5198577664
1069336800 337298063 5198577664 362151936 5198577664
1069336500 231365672 5198577664 231473152 5198577664
Here is an excerpt from the host where graphing FAILS:
1069338957 909901824 4133552128
1069338957 909901824 0 909901824 0
1069338658 905445376 0 905445376 0
1069338600 904111936 0 905445376 0
1069338300 866275819 0 898301952 0
1069338000 719442848 0 729743360 0
1069337700 650791485 0 674562048 0
1069337400 534039756 0 549453824 0
1069337100 442093622 0 466878464 0
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list