[mrtg] Re: Win 2K HTTP Connections

Jerry Heidtke jheidtke at fmlh.edu
Mon Apr 7 21:46:23 MEST 2003


Please be aware that the OID .1.3.6.1.4.1.311.1.7.3.1.7.0 will give you
currentAnonymousUsers on Windows 2000, but on Windows NT 4.0 it returns
currentNonAnonymousUsers. The correct OID for currentAnonymousUsers on
Windows NT is .1.3.6.1.4.1.311.1.7.3.1.6.0

Almost all of the OIDs in the
.iso.org.dod.internet.private.enterprises.microsoft.software.internetSer
ver.httpServer.httpStatistics branch have different meanings in Windows
NT 4.0 and Windows 2000.

Yes, this is a gross violation of the snmp standards. No, Microsoft
doesn't care if it makes your life difficult.

Jerry



-----Original Message-----
From: Manny Ortega [mailto:aortega at univ-wea.com] 
Sent: Monday, April 07, 2003 2:25 PM
To: 'Jason M. Kuhlman'; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Win 2K HTTP Connections


That is the correct code and oid.
Here is that section from my config file for W2K single cpu:

Target[homebrew.cpu]:
.1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.1:public at 10.100.20.11
RouterUptime[homebrew.cpu]: public at 10.100.20.11
MaxBytes[homebrew.cpu]: 100
Title[homebrew.cpu]: Homebrew cpu: NT Processor Load
PageTop[homebrew.cpu]: <H1>Homebrew CPU Utilization</H1>
	<TABLE>
		<TR><TD>System:</TD><TD>Homebrew CPU</TD></TR>
		<TR><TD>Maintainer:</TD><TD>Manny Ortega</TD></TR>
		<TR><TD>Processor Load
MIB:</TD><TD>.1.3.6.1.2.1.25.3.3.1.2.1</TD></TR>
	</TABLE>

ShortLegend[homebrew.cpu]: %
YLegend[homebrew.cpu]: CPU Utilization
Legend1[homebrew.cpu]: CPU Utilization in % (Load)
Legend2[homebrew.cpu]: 
Legend3[homebrew.cpu]:.
Legend4[homebrew.cpu]:.
LegendI[homebrew.cpu]: &nbsp;Load:
LegendO[homebrew.cpu]: 
Options[homebrew.cpu]: gauge, integer, nopercent

And here is the code for HTTP connections:

Target[homebrew.http.anon]:
.1.3.6.1.4.1.311.1.7.3.1.7.0&.1.3.6.1.4.1.311.1.7.3.1.7.0:public at 10.100.
20.1
1
RouterUptime[homebrew.http.anon]: public at 10.100.20.11
MaxBytes[homebrew.http.anon]: 50
Title[homebrew.http.anon]: http current anonymous users for Homebrew
PageTop[homebrew.http.anon]: <H1>http current anonymous users for
Homebrew</H1>
	<TABLE>
		<TR><TD>System:</TD><TD>Homebrew http current anonymous
users</TD></TR>
		<TR><TD>Maintainer:</TD><TD>Manny Ortega</TD></TR>
		<TR><TD>http current anonymous users
MIB:</TD><TD>1.3.6.1.4.1.311.1.7.3.1.7.0</TD></TR>
	</TABLE>

ShortLegend[homebrew.http.anon]: users
YLegend[homebrew.http.anon]: # Users
Legend1[homebrew.http.anon]: Number of users
Legend2[homebrew.http.anon]:
Legend3[homebrew.http.anon]:.
Legend4[homebrew.http.anon]:.
LegendI[homebrew.http.anon]: &nbsp;Sessions:&nbsp;
LegendO[homebrew.http.anon]: 
Options[homebrew.http.anon]: gauge, nopercent, integer

Keep in mind that the above oid refrences MS IIS HTTP connections, I
don't
know about apache oids.

-MannyO

-----Original Message-----
From: Jason M. Kuhlman [mailto:jkuhlman at oglecounty.org]
Sent: Monday, April 07, 2003 2:06 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Win 2K HTTP Connections


I know this has been asked a thousand times but I am having problems
graphing CPU and http connections on a wink server running apache. I
have
looked everywhere I can think of and even looked at some examples. This
is a
single proc machine.  Could somebody help me with this this is the code
that
I have found and am having problems with.

Thanks

# Windows 2000 processor utilization. Based on MIMI Host MOB. 
# 
# Vendor Specific Auto-Discovery Entry: 
#
1.3.6.1.2.1.25.3.3.1.2|1.3.6.1.2.1.25.3.3.1.2|microsoft_win2k_cpu|tree|C
PU
Utilization 
# 
# Example CFGNAME: [DEVICE NAME]-percent_processor_util 
# (add instance number to the end of the name for multiple processors)  
Target[$CFGNAME]:
1.3.6.1.2.1.25.3.3.1.2.$INSTANCE&1.3.6.1.2.1.25.3.3.1.2.$INSTANCE:$COMMU
NITY
@$IPADDRESS 
MaxBytes[$CFGNAME]: $MAX 
Options[$CFGNAME]:  gauge, unknaszero 
WithPeak[$CFGNAME]: wmy 
YLegend[$CFGNAME]: % Utilization 
ShortLegend[$CFGNAME]: % 
Legend1[$CFGNAME]: Proc Load in next minute 
Legend2[$CFGNAME]: . 
Legend3[$CFGNAME]: Maximal 5 Minute Proc Load 
Legend4[$CFGNAME]: . 
LegendI[$CFGNAME]:  Load:
LegendO[$CFGNAME]: . 
Colours[$CFGNAME]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff 
Title[$CFGNAME]: $DEVICE 
PageTop[$CFGNAME]: <H1>$DEVICE</H1>   


--
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