[mrtg] Re: Windows 2000 CPU, Memory Usage
Jerry Heidtke
jheidtke at fmlh.edu
Mon Dec 2 21:57:47 MET 2002
Try fully qualified path names. Use whatever is correct on your system.
For example:
Target[IMP_page]: `c:\pathtoperl\bin\perl c:\pathtoscript\getlog.pl
c:\perflogs\IMP.csv "\\IMP\Paging File(_Total)\% Usage"
Jerry
-----Original Message-----
From: Duncan Wallace [mailto:dwallace at easystreet.com]
Sent: Monday, December 02, 2002 2:27 PM
To: 'Brander, Eric'; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Windows 2000 CPU, Memory Usage
Yeah, checked all of that, and you are right about the formatting, I did
change a few little things. All of the .pl's are in the same directory
and I checked the path many times, but I will try the log option and see
if I can isolate this...
Thanks,
Duncan Wallace
12835 SW Thunderhead Way
Beaverton, Or. 97008
503-646-5707
dwallace at easystreet.com
-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com]
Sent: Monday, December 02, 2002 12:07 PM
To: mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Re: Windows 2000 CPU, Memory Usage
My .pl files are located in the same subdir as MRTG (\mrtg\bin), and
when I
start mrtg with scheduler, it's set to run in that path as well. Here
is an
example of one of many of my server monitoring configs:
~snip~
Title[IMP_page]:IMP Page File Usage
MaxBytes[IMP_page]: 100
Options[IMP_page]: gauge, nopercent, growright, nolegend, nobanner
Target[IMP_page]: `perl getlog.pl c:\perflogs\IMP.csv "\\IMP\Paging
File(_Total)\% Usage"`
YLegend[IMP_page]: % Usage
ShortLegend[IMP_page]: %
LegendO[IMP_page]: Page File Usage:
LegendI[IMP_page]:
Legend2[IMP_page]:
Legend1[IMP_page]: Page File Use in %
Legend3[IMP_page]: Max Observed Page File %
WithPeak[IMP_page]: ywm
Unscaled[IMP_page]: dwmy
Pagetop[IMP_page]: <H1>IMP Page File Usage</H1>
~snip~
That's a little different from what the MkCfg.pl does. I think it had
some
formatting I didn't care for... but yours should work anyway. The only
reason I can think of why yours is not running under the service is
because
of the path, I'll bet it can't find getlog.pl. Are you running your
MRTG
with -log option? If so, it should output to a log of your choice what
errors its encountering. Those errors are going to be key to
discovering
the source of your problem.
HTH,
Eric
-----Original Message-----
From: Duncan Wallace [mailto:dwallace at easystreet.com]
Sent: Monday, December 02, 2002 2:04 PM
To: 'Brander, Eric'
Cc: mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Re: Windows 2000 CPU, Memory Usage
Still having a small problem with this, but maybe I am missing something
simple. I used the mkcfg.pl, works great, created a test.cfg file with
all of the perfmon variables I want to monitor. I can run "perl mrtg
test.cfg" and get no errors and it is creating all of the files I need.
When I add the test.cfg items to my already running mrtg.cfg, NO UPDATES
??? If I run it by hand (perl mrtg mrtg.cfg) perfmon html's update, when
I let the service run the same command, everything but the new perfmon
stats update.
Any help would be appreciated
Thanks in advance,
Duncan Wallace
12835 SW Thunderhead Way
Beaverton, Or. 97008
503-646-5707
dwallace at easystreet.com
-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com]
Sent: Monday, December 02, 2002 6:10 AM
To: 'dwallace at easystreet.com'
Subject: RE: [mrtg] Re: Windows 2000 CPU, Memory Usage
I found a better link that has the perl!
http://www.wn.com.au/psimmo/
-----Original Message-----
From: Duncan Wallace [mailto:dwallace at easystreet.com]
Sent: Tuesday, November 26, 2002 5:18 PM
To: 'Brander, Eric'
Subject: RE: [mrtg] Re: Windows 2000 CPU, Memory Usage
Great info, where did you get the "getlog.pl" ?
Thanks,
Duncan Wallace
12835 SW Thunderhead Way
Beaverton, Or. 97008
503-646-5707
dwallace at easystreet.com
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Brander, Eric
Sent: Tuesday, November 26, 2002 2:15 PM
To: 'Ed Grant'; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Windows 2000 CPU, Memory Usage
http://home.att.net/~hemantpatel/UsingMRTGwithWindowsPerfMon.pdf
I use performance monitor as described in the link above.
-----Original Message-----
From: Ed Grant [mailto:ed.grant at raremedium.net]
Sent: Tuesday, November 26, 2002 2:53 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Windows 2000 CPU, Memory Usage
Hey all,
I was wondering if anyone is successfully using MRTG to monitor Windows
2000
servers without installing any 3rd party utilities on the servers being
monitored? I try to use the tools that come with the OS as much as
possible
or until I need more functionality that they can provide. I have seen
posts
mentioning installing SNMP42K, but I would rather *try* to use the
functionality within Win2k SNMP if possible. I am currently able to
monitor
NIC usage and the amount of Disk space used, but am having troubles with
finding the correct OID's for Memory and CPU usage.
Any help would be most appreciated!
Thanks,
Ed
--
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
--
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
--
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
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
--
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