[mrtg] Re: Measuring bandwidth for a Linux webserver

Leone, Michael MLeone at Contributionship.com
Thu Mar 3 17:57:31 MET 2005


I got it ... My webserver is responding to requests on the local ethernet,
as well as requests that are coming in via the T-1. So of course those
faster local responses are skewing the numbers. Plus, the webserver is also
do database lookups across the local ethernet, which further skews the
figures. So this won't help me, to find what I need to know.
Good as a learning experience, tho.

-- 
------------------------------------------------------------ 
Michael Leone, Systems Administrator 
Philadelphia Contributionship 
210 S. 4th Street, Philadelphia, PA  19106 
<mailto:mleone at contributionship.com> 
V: 215-627-1752 x1282 
F: 215-627-5354 
 

-> -----Original Message-----
-> From: Bill Wichers [mailto:billw at waveform.net] 
-> Sent: Thursday, March 03, 2005 9:56 AM
-> To: Leone, Michael
-> Subject: Re: [mrtg] Re: Measuring bandwidth for a Linux webserver
-> 
-> 
-> You probably downloaded or uploaded something at a high 
-> rate, or your first sample is a glitch (which happens 
-> sometimes). You could either trim the values in the 
-> <interface_name>.log file, or just wait for it to go off the 
-> graph with time. MRTG auto-scales the graphs, so it will 
-> show Mb/s on the y axis when it has a need to show values in 
-> that range.
-> 
->      -Bill
-> 
-> 
-> http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeature
-> s/mrtg/index.ph
-> > p, which pretty much walked me thru the whole setup, and 
-> it seems to 
-> > be running. With one oddity: the scaling on the graph is 
-> listing in 
-> > megabits (i.e., it shows 0.0M, then 1.3M, etc. And I'd 
-> really like it 
-> > to show in kilobits, like my other graphs. The funny thing 
-> is, I use 
-> > the same settings for all my monitoring (to measure T-1 
-> bandwidth), 
-> > and those graphs shows the
-> > Y axis as kilobits, and this one shows as megabits. For 
-> example, my Pix
-> > bandwidth (which I last posted about, couple days ago) 
-> shows the graph as
-> > kilobits. And all I did, was copy the whole section, just 
-> changing the IP
-> > address to the webserver. So I thought I should see the 
-> same scaled graph.
-> > I
-> > do use
-> >
-> > Options[_]: growright, bits earlier in my config, for the other 
-> > interfaces on the Pix that I also monitor.
-> >
-> > Here's my settings:
-> >
-> > Target[192.168.x.x_2]: 2:public at 192.168.x.x:
-> > SetEnv[192.168.x.x_2]: MRTG_INT_IP="192.168.x.x" 
-> MRTG_INT_DESCR="eth0"
-> > MaxBytes[192.168.x.x_2]: 193000
-> > Title[192.168.x.x_2]: Traffic Analysis for Coyote
-> > PageTop[192.168.x.x_2]: <H1>Traffic Analysis for 
-> Coyote</H1>  <TABLE>
-> >    <TR><TD>System:</TD>     <TD>Coyote in "3F Server 
-> room"</TD></TR>
-> >    <TR><TD>Maintainer:</TD> <TD>"someone who cares"</TD></TR>
-> >    <TR><TD>Description:</TD><TD>eth0  </TD></TR>
-> >    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
-> >    <TR><TD>ifName:</TD>     <TD></TD></TR>
-> >    <TR><TD>Max Speed:</TD>  <TD>1.54 MBytes/s</TD></TR>
-> >    <TR><TD>IP:</TD>         <TD>192.168.x.x ()</TD></TR>
-> >  </TABLE>
-> >
-> > The latest limits printed with the graph show
-> >
-> > Max  In: 5004.2 kb/s (324.1%)   Average  In: 196.7 kb/s 
-> (12.7%)   Current
-> > In: 627.1 kb/s (40.6%)
-> > Max  Out: 1756.8 kb/s (113.8%)   Average  Out: 75.9 kb/s 
-> (4.9%)   Current
-> > Out: 107.2 kb/s (6.9%)
-> >
-> >
-> >
-> >
-> > --
-> > 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
-> >
-> >
-> 
-> 
-> *****************************
-> Waveform Technology
-> UNIX Systems Administrator
-> 
-> 


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