[mrtg] Re: NT/2000 Perfmon counters
Markus.Koegel at bc.boehringer-ingelheim.com
Markus.Koegel at bc.boehringer-ingelheim.com
Wed Mar 21 10:46:31 MET 2001
sorry for that late answer.
I use this script from Paul Simmonson to log things from NT that are not
covered by MIBs.
Therefore I analysed the script and wrote my own batch-files to produce an
input that can be handled by the script.
An Input file has to look in the way like:
,,entry1,entry2,entry3,
Date,Time,\\Servername,,
01/25/2001,9:49a,9,0,1,
01/25/2001,9:54a,10,2,0,
In the config-file you select the entry in the way:
Target[SERVER]: `perl getlog.pl "C:\input.txt" "entry1"`
With this line the perl-script takes the first line to select the column and
reads the last line (9:54a) to select the entry (10). All lines in between
are ignored.
I hope I didn't tell anything wrong but on my mrtg this works.
Regards
Markus Koegel
-----Ursprüngliche Nachricht-----
Von: Jorgensen, Marty [SMTP:MartyJ at qa3.com]
Gesendet am: Donnerstag, 15. März 2001 23:48
An: mrtg at list.ee.ethz.ch
Betreff: [mrtg] NT/2000 Perfmon counters
Anybody else out there using Paul Simmonson's getlog.pl to pull
NT/2000
perfmon counters into MRTG?
I am wondering why this is not producing the corrent results:
This code is using SNMP and pulls reliable stats on the Processor
using
SNMP4NT (monitoring an NT4 SP6 server):
#---------------------------------------------------------------
#
# NT Processor Utilization
#
YLegend[server.processor]: % Utilization
WithPeak[server.processor]: ymw
XSize[server.processor]: 300
Options[server.processor]: growright, gauge
Target[server.processor]:
.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.3.48.58.48&.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3
.3.48.58.48:qa3secure at 192.168.0.250
MaxBytes[server.processor]: 523444000
Title[server.processor]: server: NT Processor Load
ShortLegend[server.processor]: %
Legend1[server.processor]: Proc Load in next minute
Legend2[server.processor]: Proc Load in next minute
Legend3[server.processor]: Maximal 5 Minute Proc Load
Legend4[server.processor]: Maximal 5 Minute Proc Load
LegendI[server.processor]: Load:
LegendO[server.processor]: Load:
PageTop[server.processor]: <H1>Processor Utilization
</H1>
<TABLE>
<TR><TD>System:</TD><TD>server</TD></TR>
<TR><TD>Maintainer:</TD><TD>Me (111) 222-3333
me at company.com</TD></TR>
<TR><TD>Processor Load
MIB:</TD><TD>.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.3.48.58.48</TD></TR>
</TABLE>
Not sure why MaxBytes is set to 523444000, but it's working fine for
now...
This code uses getlog.pl and produces results, but not the correct
ones...
Title[server-3]:\\server\Processor(0)\% Processor Time
Pagetop[server-3]: <H1>\\server\Processor(0)\% Processor Time</H1>
MaxBytes[server-3]: 100
Options[server-3]: gauge, growright, nopercent
Target[server-3]: `perl getlog.pl c:\perflogs\proc.csv
"\\server\Processor(0)\% Processor Time"`
YLegend[server-3]:% Utilization
ShortLegend[server-3]:
LegendO[server-3]:% Utilization
LegendI[server-3]:% Utilization
Legend2[server-3]:% Utilization
Legend1[server-3]:% Utilization
I've made sure that there is data in the MRTG log files, so it is
getting
info sent into MRTG fine from the getlog.pl...
...
Any thoughts?
--
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
More information about the mrtg
mailing list