[mrtg] Re: Measuring bandwidth for a Linux webserver

Leone, Michael MLeone at Contributionship.com
Thu Mar 3 15:09:17 MET 2005

Please reply to the list as well, thanks.
-> You need to configured snmpd on the box. The config is 
-> probably in /etc/snmp/snmpd.conf
-> public, BTW, is not a very secure community name to use...
-> Redhat uses Net-SNMP, Google should have the rest of the 
-> info you need.

Yeah, I found
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>
   <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>

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

More information about the mrtg mailing list