[mrtg] Re: NT/2000 Perfmon counters
Grady Kelly
Grady.Kelly at helloNetwork.com
Fri Mar 16 00:50:11 MET 2001
Here is my config :
Title[NOC06-4]:\\NOC06\Memory\Committed Bytes
Pagetop[NOC06-4]: <H1>\\NOC06\Memory\Committed Bytes</H1>
MaxBytes[NOC06-4]: 1000000000
Options[NOC06-4]: gauge, nopercent, growright
Target[NOC06-4]: `perl c:\mrtg\bin\getlog.pl c:\perflogs\NOC06.csv
"\\NOC06\Memory\Committed Bytes"`
YLegend[NOC06-4]: Mem/Bytes
ShortLegend[NOC06-4]:
LegendO[NOC06-4]: .
LegendI[NOC06-4]:
Legend2[NOC06-4]:
Legend1[NOC06-4]:
XSize[NOC06-4]: 250
YSize[NOC06-4]: 66
AddHead[NOC06-4]: <LINK REL=stylesheet HREF="c:\mrtg\bin\mrtg.css"
TYPE="text/css">
Colours[NOC06-4]: YELLOW#1E90FF,RED#B22222,DARK GREEN#006600,VIOLET#FF00FF
-----Original Message-----
From: Jorgensen, Marty [mailto:MartyJ at qa3.com]
Sent: Thursday, March 15, 2001 15:50
To: 'Grady Kelly'; 'mrtg at list.ee.ethz.ch'
Subject: RE: [mrtg] NT/2000 Perfmon counters
Makes sense.. there is only one value for getlog.pl to get from the csv
file.. looks like it's putting it into the second and fourth columns in
yours... May I ask what the item is here that you're graphing and see the
.cfg code behind it? Thanks!
-----Original Message-----
From: Grady Kelly [mailto:Grady.Kelly at helloNetwork.com]
Sent: Thursday, March 15, 2001 5:37 PM
To: Jorgensen, Marty; 'mrtg at list.ee.ethz.ch'
Subject: RE: [mrtg] NT/2000 Perfmon counters
I am pretty sure that getlog.pl is only looking fo the one value to graph.
I have never been able to get it to graph multiplr values on the same graph,
or get it to do averages, etc.
mine look like this :
984671400 0 163781946 0 163786752
984671100 0 163722417 0 163737600
984670800 0 163740753 0 163782656
984670500 0 163778355 0 163782656
984670200 0 163722936 0 163745792
984669900 0 163750379 0 163811328
984669600 0 163805020 0 163811328
984669300 0 166074040 0 197332992
984669000 0 194986475 0 197332992
984668700 0 163805020 0 163811328
984668400 0 163721489 0 163725312
984668100 0 163729681 0 163790848
984667800 0 163787025 0 163790848
hmmm... That is odd, there are 2 values, but I only ever get one value
graphed.
Weird.
-----Original Message-----
From: Jorgensen, Marty [mailto:MartyJ at qa3.com]
Sent: Thursday, March 15, 2001 15:38
To: 'Grady Kelly'; 'mrtg at list.ee.ethz.ch'
Subject: RE: [mrtg] NT/2000 Perfmon counters
Good point... no, I didn't.. I'll do that and see. Do you know what the
significance of doing that would be? Thanks!
Also, can anybody lay out for me exactly what the four values in the log
files are?
984696843 1 1 1 1
984696544 1 1 1 1
984696300 1 1 1 1
984696000 1 1 1 1
I assume that the 984... number is the time (offset?) but what exactly are
the four 1's for? I know it's the data returned but why four columns?
-----Original Message-----
From: Grady Kelly [mailto:Grady.Kelly at helloNetwork.com]
Sent: Thursday, March 15, 2001 4:55 PM
To: Jorgensen, Marty
Subject: RE: [mrtg] NT/2000 Perfmon counters
I am using this script and it works great.
But you have to fiddle around with it to get it to work.
And you have to watch your counters to see what the min and max values are.
I had a similar problem, and once I got the maxbytes set correctly, there
was no problem, and I got the right values.
Also, did you try setting max bytes on the other to 523444000?
Good luck!
Grady Kelly
Network Operations
helloNetwork.com, Inc.
702-938-9396
Cell 702-604-4150
Email: grady.kelly at helloNetwork.com
-----Original Message-----
From: Jorgensen, Marty [mailto:MartyJ at qa3.com]
Sent: Thursday, March 15, 2001 14:48
To: mrtg at list.ee.ethz.ch
Subject: [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...
Here's an example of the log file for server-3 right listed above here:
984696843 -1 -1
984696843 1 1 1 1
984696544 1 1 1 1
984696300 1 1 1 1
984696000 1 1 1 1
984695700 1 1 1 1
984695400 1 1 1 1
984695100 1 1 1 1
984694800 1 1 1 1
984694500 1 1 1 1
984694200 1 1 1 1
984693900 1 1 1 1
984693600 1 1 1 1
984693300 1 1 1 1
984693000 1 1 1 1
984692700 1 1 1 1
984692400 1 1 1 1
984692100 1 1 1 1
984691800 1 1 1 1
984691500 1 1 1 1
984691200 1 1 1 1
984690900 1 1 1 1
984690600 1 1 1 1
984690300 1 1 1 1
984690000 1 1 1 1
984689700 1 1 1 1
984689400 1 1 1 1
984689100 1 1 1 1
984688800 1 1 1 1
984688500 1 1 1 1
984688200 1 1 1 1
984687900 1 1 1 1
984687600 1 1 1 1
984687300 1 1 1 1
984687000 1 1 1 1
984686700 0 1 1 5
984686400 0 5 0 6
984686100 0 1 1 6
984685800 1 1 1 1
984685500 0 1 1 3
984685200 0 1 1 3
984684900 0 3 1 5
984684600 0 1 1 5
984684300 0 0 0 0
984684000 0 0 0 0
This is the info being graphed my MRTG, but not the same info as being
pulled by the SNMP monitor, listed here:
984696906 2 100
984696906 2 100 2 100
984696607 3 100 3 100
984696600 2 100 3 100
984696300 2 100 7 100
984696000 7 100 14 100
984695700 13 100 14 100
984695400 6 100 7 100
984695100 2 100 8 100
984694800 7 100 8 100
984694500 6 100 26 100
984694200 25 100 26 100
984693900 5 100 19 100
984693600 18 100 19 100
984693300 9 100 20 100
984693000 19 100 20 100
984692700 8 100 13 100
984692400 12 100 13 100
984692100 3 100 4 100
984691800 4 100 5 100
984691500 5 100 8 100
984691200 7 100 8 100
984690900 5 100 6 100
984690600 4 100 5 100
984690300 4 100 6 100
984690000 5 100 6 100
984689700 4 100 6 100
984689400 5 100 6 100
984689100 4 100 5 100
984688800 5 100 9 100
984688500 8 100 9 100
984688200 6 100 7 100
984687900 4 100 5 100
984687600 4 100 5 100
984687300 3 100 4 100
984687000 3 100 4 100
984686700 2 100 4 100
984686400 3 100 4 100
984686100 2 100 6 100
984685800 5 100 6 100
984685500 3 100 5 100
984685200 4 100 5 100
984684900 3 100 4 100
984684600 3 100 4 100
984684300 3 100 4 100
984684000 4 100 4 100
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