[mrtg] Re: mrtg-ntap-probe

Peter W. Osel pwo at Infineon.COM
Sat Dec 1 19:48:03 MET 2001


>>>>> On Tue, Nov 27, 2001 at 11:32:14AM -0300, "" == Daniel Abad <dabad at cidadei.com.br> wrote:
> mrtg-ntap-probe -- How do I use it???
> I need to create my netcache.cfg, but I can`t ...
>


Dan

you might not need it - recent versions of NetApp's NetCache Appliances
provide all data through SNMP.  I am preparing a new release of
mrtg-ntap-probe which will explain which SNMP OIDs to use.  Here is a
short summary:

instead of "mrtg-ntap-probe -r hr" use the following OIDs:

	Object Hitrate HTTP requests
		ncHttpObjHitrate: 1.3.6.1.4.1.789.1.8.3.6.7.0

	Bandwidth savings for HTTP requests
		ncHttpBWsavings: 1.3.6.1.4.1.789.1.8.3.6.6.0


instead of "mrtg-ntap-probe -r url"

	there are no equivalent values for the Instantaneous URLs and
	the Average URLs per hour.  Replace these with the total number
	of HTTP requests and the number of HTTP requests that resulted
	in a hit:
 
	HTTP requests that resulted in hits so far
		ncHttpHitRequests: 1.3.6.1.4.1.789.1.8.3.6.2.0
 
	Total HTTP requests so far
		ncHttpTotalRequests: 1.3.6.1.4.1.789.1.8.3.6.1.0


instead of "mrtg-ntap-probe -r urlftime" the following OIDs:

	Avg Response time during last 60 seconds for all HTTP requests
		ncHttpInstAvgRespTime: 1.3.6.1.4.1.789.1.8.3.6.12.0

	Avg Response time for all HTTP requests
		ncHttpAvgRespTime: 1.3.6.1.4.1.789.1.8.3.6.9.0




Your netcache.cfg file could look similar to this:

######################################################################
# Description: NetApp Release 5.3X42: Fri Nov 30 19:34:12 PDT 2001
#     Contact: Peter W. Osel, pwo at Infineon.COM, +1.408.501.6321
# System Name: proxy0.SJC.Infineon.COM
#    Location: IFNA SJC M111 R1C
#.....................................................................
 
#---------------------------------------------------------------
Target[proxy0.e4]: 2:public at proxy0
MaxBytes[proxy0.e4]: 125000000
WithPeak[proxy0.e4]: ymwd
Title[proxy0.e4]: proxy0.SJC.Infineon.COM (proxy0): e4
PageTop[proxy0.e4]: <H1>Traffic Analysis for e4
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>proxy0.SJC.Infineon.COM in IFNA SJC M111 R1C</TD></TR>
   <TR><TD>Maintainer:</TD><TD>Peter W. Osel, pwo at Infineon.COM, +1.408.501.6321</TD></TR>
   <TR><TD>Interface:</TD><TD>e4 (2)</TD></TR>
   <TR><TD>IP:</TD><TD>proxy0 (172.19.172.129)</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>125.0 MBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>

##################################################################
# Sample entry to probe a host named proxy0
##################################################################
 
Title[proxy0.hr]: proxy0 Hit Rate Analysis
	for web proxy cache server
PageTop[proxy0.hr]: <H1>Hit Rate Analysis for web proxy cache server proxy0</H1>	<P>We measure the "Bandwidth savings for HTTP requests" (Byte
	hit rate) and the "Object Hitrate for HTTP requests" of our web
	proxy cache server.
MaxBytes[proxy0.hr]: 100
AbsMax[proxy0.hr]: 100
WithPeak[proxy0.hr]: ymwd
Options[proxy0.hr]: gauge
Target[proxy0.hr]: 1.3.6.1.4.1.789.1.8.3.6.7.0&1.3.6.1.4.1.789.1.8.3.6.6.0:public at proxy0
YLegend[proxy0.hr]: hit rate
ShortLegend[proxy0.hr]: %
Legend1[proxy0.hr]: Total object hit rate
Legend2[proxy0.hr]: Byte hit rate
Legend3[proxy0.hr]: Maximal 5 Minute Total object hit rate
Legend4[proxy0.hr]: Maximal 5 Minute Byte hit rate
LegendI[proxy0.hr]: &nbsp;Total Object Hit Rate:
LegendO[proxy0.hr]: &nbsp;Byte Hit Rate:

##################################################################
# ncHttpHitRequests/ncHttpTotalRequests
#-----------------------------------------------------------------
Target[proxy0.url]: 1.3.6.1.4.1.789.1.8.3.6.2.0&1.3.6.1.4.1.789.1.8.3.6.1.0:public at proxy0
Title[proxy0.url]: proxy0 total HTTP requests
PageTop[proxy0.url]: <H1>URL retrieval rate for web proxy cache server proxy0</H1>
	<P>We measure the number of URLs served (total and hits)
MaxBytes[proxy0.url]: 100000000
AbsMax[proxy0.url]: 100000000
Options[proxy0.url]: nopercent
WithPeak[proxy0.url]: ymwd
YLegend[proxy0.url]: HTTP requests
ShortLegend[proxy0.url]: #
Legend1[proxy0.url]: HTTP requests that resulted in hits
Legend2[proxy0.url]: Total HTTP requests
Legend3[proxy0.url]: Maximal 5 Minute HTTP requests that resulted in hits
Legend4[proxy0.url]: Maximal 5 Minute Total HTTP requests
LegendI[proxy0.url]: &nbsp;Hit	HTTP
LegendO[proxy0.url]: &nbsp;Tot. HTTP

##################################################################
# Instantaneous/Average URL fetch time:
#-----------------------------------------------------------------
Target[proxy0.urlftime]: 1.3.6.1.4.1.789.1.8.3.6.12.0&1.3.6.1.4.1.789.1.8.3.6.9.0:public at proxy0
Title[proxy0.urlftime]: proxy0 Average URL fetch time (ms)
MaxBytes[proxy0.urlftime]: 100000000
AbsMax[proxy0.urlftime]: 100000000
Options[proxy0.urlftime]: gauge,nopercent
WithPeak[proxy0.urlftime]: ymwd
YLegend[proxy0.urlftime]: time (ms)
ShortLegend[proxy0.urlftime]: ms
Legend1[proxy0.urlftime]: Instantaneous URL fetch time (ms)
Legend2[proxy0.urlftime]: Average URL fetch time (ms)
Legend3[proxy0.urlftime]: Max 5 Minute Instantaneous URL fetch time (ms)
Legend4[proxy0.urlftime]: Max 5 Minute Average URL fetch time (ms)
LegendI[proxy0.urlftime]: &nbsp;ncHttpInstAvgRespTime
LegendO[proxy0.urlftime]: &nbsp;ncHttpAvgRespTime
PageTop[proxy0.urlftime]: <H1>proxy0 Instantaneous and Average URL
	fetch time (ms)</H1>
	<P>This page shows the average URL fetch time of NetCache in
	milliseconds.
	<P>Aberage URL fetch time: Average time, in milliseconds,
	required to fetch a URL from the original source since the
	NetCache was last restarted.


##################################################################
# Percentage of used disk space / number of inodes
##################################################################
Target[proxy0.df]: 1.3.6.1.4.1.789.1.5.4.1.6.1&1.3.6.1.4.1.789.1.5.4.1.9.1:public at proxy0
MaxBytes[proxy0.df]: 100
AbsMax[proxy0.df]: 1000
Title[proxy0.df]: proxy0 Disk Space / Inodes used
PageTop[proxy0.df]: <H1>proxy0 Disk Space / Inodes used </H1>
Options[proxy0.df]: gauge
Unscaled[proxy0.df]: dwmy
YLegend[proxy0.df]: % df / df -i
ShortLegend[proxy0.df]: %
Legend1[proxy0.df]: Disk Space used
Legend2[proxy0.df]: Inodes used
Legend3[proxy0.df]: Disk Space used (5 Minute Average)
Legend4[proxy0.df]: Inodes used (5 Minute Average)
LegendI[proxy0.df]: &nbsp;space:
LegendO[proxy0.df]: &nbsp;inodes:
WithPeak[proxy0.df]: ymwd




Hope this helps
	--pwo


[Slogan of the moment]
>>>>> And Now For Something Completely Different ...

"I was not mad.  The last ray of hope was extinguished."

	-- Solaris by Stanislaw Lem


--
Peter W. Osel			Sr. Network & Systems Manager
Infineon Technologies		Email: pwo at Infineon.COM
North America Corp.		Phone: +1 (408) 501 6321
1730 North First Street 	Fax:   +1 (408) 501 2410
San Jose, CA 95112, USA 	WWW:   http://pwo.de/

pgp key fingerprint = 79 2D DD 49 C0 AA D8 CF  2C F9 A5 6A BA 37 0E 28


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