[mrtg] Re: NT/2000 Perfmon counters

Jorgensen, Marty MartyJ at qa3.com
Fri Mar 16 00:38:22 MET 2001


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