[mrtg] MRTG not reading perfmon logs
Jonathan Freegard
jfreegard at betinternet.com
Mon Sep 6 11:19:59 MEST 2004
Hi All,
I am trying to install MRTG in our network. I am currently monitoring 1
windows 2000 server and 1 windows 2003 server with perfmon on the CPU
and the available memory. The perfmon logs are output to a network
drive from each machine. I have mapped this drive to the MRTG machine
as "P:\". Unfortunately both graphs are only showing a value of 1.
Below is a copy of the cfg files for each machine along with an extract
of the CSV files.
I also noticed on 2k3 the log file can not be any smaller than 1 meg
hence this is what it is set to and the 2k machine is set to 2kb
If anyone can help me out here it will be most appreciated.
Windows 2000 server
CFG file:
Workdir: C:\InetPub\wwwroot\mrtg\logs\hurricane
Title[LENNON-1]:\\LENNON\Memory\Available Bytes
Pagetop[LENNON-1]: <H1>\\LENNON\Memory\Available Bytes</H1>
MaxBytes[LENNON-1]: 536870912
Options[LENNON-1]: gauge, nopercent
Target[LENNON-1]: `c:\perl\bin\perl c:\mrtg-2.10.15\bin\getlog.pl
p:\LENNON.csv "\\LENNON\Memory\Available Bytes"`
YLegend[LENNON-1]: Legend
ShortLegend[LENNON-1]:
LegendO[LENNON-1]:
LegendI[LENNON-1]:
Legend2[LENNON-1]:
Legend1[LENNON-1]:
Title[LENNON-2]:\\LENNON\Processor(_Total)\% Processor Time
Pagetop[LENNON-2]: <H1>\\LENNON\Processor(_Total)\% Processor Time</H1>
MaxBytes[LENNON-2]: 100
Options[LENNON-2]: gauge, nopercent
Target[LENNON-2]: `c:\perl\bin\perl c:\mrtg-2.10.15\bin\getlog.pl
p:\LENNON.csv "\\LENNON\Processor(_Total)\% Processor Time"`
YLegend[LENNON-2]: Legend
ShortLegend[LENNON-2]:
LegendO[LENNON-2]:
LegendI[LENNON-2]:
Legend2[LENNON-2]:
Legend1[LENNON-2]:
CSV extract
(PDH-CSV 4.0) (GMT Daylight Time)(-60)
\\LENNON\Memory\Available Bytes
\\LENNON\Processor(_Total)\% Processor Time
38:56.2
19353600
99.93456
43:56.2
20361216
1.267521
48:56.2
19984384
0.67899
53:56.2
19546112
0.475845
58:56.2
19660800
0.564409
03:56.2
22630400
0.538368
08:56.2
23539712
0.564409
13:56.2
23502848
0.455036
Windows 2k3
CFG file
Workdir: C:\InetPub\wwwroot\mrtg\logs\hurricane
Title[HURRICANE-1]:\\HURRICANE\Memory\Available MBytes
Pagetop[HURRICANE-1]: <H1>\\HURRICANE\Memory\Available MBytes</H1>
MaxBytes[HURRICANE-1]: 1073741824
Options[HURRICANE-1]: gauge, nopercent, growright
Target[HURRICANE-1]: `Perl c:\mrtg-2.10.15\bin\getlog.pl
p:\\Hurricane.csv "\\HURRICANE\Memory\Available MBytes"`
YLegend[HURRICANE-1]: " "
ShortLegend[HURRICANE-1]:
LegendO[HURRICANE-1]:
LegendI[HURRICANE-1]:
Legend2[HURRICANE-1]:
Legend1[HURRICANE-1]:
Title[HURRICANE-2]:\\HURRICANE\Processor(_Total)\% Processor Time
Pagetop[HURRICANE-2]: <H1>\\HURRICANE\Processor(_Total)\% Processor
Time</H1>
MaxBytes[HURRICANE-2]: 100
Options[HURRICANE-2]: gauge, nopercent
Target[HURRICANE-2]: `Perl c:\mrtg-2.10.15\bin\getlog.pl
p:\HURRICANE.csv "\\HURRICANE\Processor(_Total)\% Processor Time"`
YLegend[HURRICANE-2]: Legend
ShortLegend[HURRICANE-2]:
LegendO[HURRICANE-2]:
LegendI[HURRICANE-2]:
Legend2[HURRICANE-2]:
Legend1[HURRICANE-2]:
CSV extract
(PDH-CSV 4.0) (GMT Daylight Time)(-60)
\\HURRICANE\Memory\Available MBytes
\\HURRICANE\Processor(_Total)\% Processor Time
08/27/2004 09:47:22.810
673
99.98585382
08/27/2004 09:52:22.816
599
0.296185147
08/27/2004 09:57:22.822
606
1.48105823
08/27/2004 10:02:22.828
609
0.158166963
08/27/2004 10:07:22.833
610
0.186812247
08/27/2004 10:12:22.839
609
10.381929
08/27/2004 10:17:22.845
610
0.181604013
08/27/2004 10:22:22.851
609
0.124313447
08/27/2004 10:27:22.856
609
0.178999897
08/27/2004 10:32:22.862
610
0.147750497
08/27/2004 10:37:22.868
683
0.163375197
08/27/2004 10:42:22.874
683
0.171187547
08/27/2004 10:47:22.879
683
0.134729913
08/27/2004 10:52:22.885
683
0.178999897
08/27/2004 10:57:22.891
683
0.12170933
08/27/2004 11:02:22.897
683
0.178999897
08/27/2004 11:07:22.902
683
0.12170933
08/27/2004 11:12:22.908
608
0.29358103
08/27/2004 11:17:22.914
608
0.12170933
08/27/2004 11:22:22.920
609
0.18420813
Cheers
Jonathan
**********************************************************************
This e-mail is confidential and may be privileged. It may be
read, copied and used only by the intended recipient. If you
have received it in error, please contact the sender
immediately. Please then delete it and do not disclose its
contents to any person.
Internet email is an insecure communications medium.
Please take this into account when sending us e-mail.
This message and its attachments are believed to be free
from viruses, however this is not warranted.
**********************************************************************
--
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