[mrtg] log not keeping historical data
evans.mj.1 at pg.com
evans.mj.1 at pg.com
Wed Sep 24 21:22:17 MEST 2003
I have MRTG running on a Windows 2003 Server using IIS 6.0 as the webserver. I
am trying to monitor Windows 2000 Servers and have been able to successfully
monitor and graph CPU, free drive space on C, NIC utilization, and Page Faults
Per Sec, but I am having a hell of a time with Free Memory and Commited Memory.
Below is a portion of my cfg file. I have multiple sections identical to this
and they are all experiencing the same issue, the log file does not keep any
historical data. Just the currently returned values. If I use GetIf and
continually SNMPGET on the specific OID, .1.3.6.1.4.1.311.1.1.3.1.1.1.2.0, I can
see the value fluctuate and when compared to the stats that are displayed on the
Performance tab of Task Manager they seem to correspond. So I think I can
safely assume that I am using the correct OID. The same applies to OID
.1.3.6.1.4.1.311.1.1.3.1.1.1.3.0
### Global Config Options
Logdir: x:\inetpub\wwwroot\mrtg\logs
Htmldir: x:\inetpub\wwwroot\mrtg
Imagedir: x:\inetpub\wwwroot\mrtg\images
RunAsDaemon: Yes
Refresh: 300
Interval: 5
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
Options[_]: growright,gauge
### Available Memory vs. Commited
Target[xxx.xxx.xxx.xxx_FREE_COMMIT]:
1.3.6.1.4.1.311.1.1.3.1.1.1.2.0&1.3.6.1.4.1.311.1.1.3.1.1.1.3.0:pgpmrtg at xxx.xxx.xxx.xxx
MaxBytes[xxx.xxx.xxx.xxx_FREE_COMMIT]: 1024
Title[xxx.xxx.xxx.xxx_FREE_COMMIT]: Available vs Committed Bytes
PageTop[xxx.xxx.xxx.xxx_FREE_COMMIT]: <H1>Available Memory</H1>
kMG[xxx.xxx.xxx.xxx_FREE_COMMIT]: M,G
Unscaled[xxx.xxx.xxx.xxx_FREE_COMMIT]: dwmy
# Supress[xxx.xxx.xxx.xxx_FREE_COMMIT]:dwmy
XSize[xxx.xxx.xxx.xxx_FREE_COMMIT]: 380
YSize[xxx.xxx.xxx.xxx_FREE_COMMIT]: 100
YLegend[xxx.xxx.xxx.xxx_FREE_COMMIT]: Bytes
ShortLegend[xxx.xxx.xxx.xxx_FREE_COMMIT]: Bytes
Legend1[xxx.xxx.xxx.xxx_FREE_COMMIT]: Available Memory (Bytes)
Legend2[xxx.xxx.xxx.xxx_FREE_COMMIT]: Committed Memory (Bytes)
# Legend3[xxx.xxx.xxx.xxx_FREE_COMMIT]:
# Legend4[xxx.xxx.xxx.xxx_FREE_COMMIT]:
LegendI[xxx.xxx.xxx.xxx_FREE_COMMIT]: Avail: 
LegendO[xxx.xxx.xxx.xxx_FREE_COMMIT]: Commit: 
### Corresponding Log
1063891156 719548416 255483904
1063891156 0 0 0 0
1063890921 0 0 0 0
1063890900 0 0 0 0
1063890600 0 0 0 0
### Notice all the columns have changed, but it still isn't keeping a history of
the data
1063899128 664395776 280588288
1063899128 0 0 0 0
1063898700 0 0 0 0
1063898400 0 0 0 0
### I have since added Options to the target
Title[xxx.xxx.xxx.xxx_FREE_COMMIT]: Available vs Committed Bytes
Options[xxx.xxx.xxx.xxx_FREE_COMMIT]: growright,gauge
PageTop[xxx.xxx.xxx.xxx_FREE_COMMIT]: <H1>Available Memory</H1>
Any ideas would be greatly appreciated as I have worn our Google looking for
clues and/or answers.
Thanks,
Mike
--
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