|
||||||||
Hi I've set up m0n0wall with snmp, and mrtg on my Debian box. You can see this at http://www.tehjunkyard.net/m0n0wall/ . My WAN connection has a theoretical max throughput of 24mbit down and 1mbit up (in reality this is really ~1900kB/s down and ~95kB/s up). To get some results into mrtg, so see if it was working, I downloaded the 1.4GB suse live dvd from SUNET ( http://ftp.sunet.se/ ) . I downloaded it with Download Accelerator, and at 1800kB/s. Yet MRTG only showed 1200kB/s as maximum. Why is this? :/ Is it some wrong with the snmp part of m0n0wall, or did I configure mrtg wrong? Here's the mrtg configuration file for m0n0wall: ########################################################################### # Created by # /usr/bin/cfgmaker public@192.168.1.100 ### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # for Debian WorkDir: /var/www/mrtg # or for NT # WorkDir: c:\mrtgdata ### Global Defaults # to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits EnableIPv6: no ###################################################################### # System: m0n0wall.tehjunkyard.net # Description: FreeBSD m0n0wall.tehjunkyard.net 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: We i386 # Contact: "mathias dot buren at gmail dot com" # Location: "tehjunkyard.net" ###################################################################### ### Interface 1 >> Descr: 'LAN' | Name: 'rl0' | Ip: '192.168.1.100' | Eth: '' ### Target[192.168.1.100_1]: 1:public@192.168.1.100: SetEnv[192.168.1.100_1]: MRTG_INT_IP="192.168.1.100" MRTG_INT_DESCR="rl0" MaxBytes[192.168.1.100_1]: 12500000 Title[192.168.1.100_1]: Traffic Analysis for LAN -- m0n0wall.tehjunkyard.net PageTop[192.168.1.100_1]: <H1>Traffic Analysis for LAN -- m0n0wall.tehjunkyard.net</H1> <TABLE> <TR><TD>System:</TD> <TD>m0n0wall.tehjunkyard.net in "tehjunkyard.net"</TD></TR> <TR><TD>Maintainer:</TD> <TD>"mathias dot buren at gmail dot com"</TD></TR> <TR><TD>Description:</TD><TD>LAN</TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD>rl0</TD></TR> <TR><TD>Max Speed:</TD> <TD>12500.0 kBytes/s</TD></TR> <TR><TD>Ip:</TD> <TD>192.168.1.100 ()</TD></TR> </TABLE> ### Interface 2 >> Descr: 'sis0' | Name: '' | Ip: '81.229.119.116' | Eth: '' ### Target[192.168.1.100_2]: 2:public@192.168.1.100: SetEnv[192.168.1.100_2]: MRTG_INT_IP="81.229.119.116" MRTG_INT_DESCR="sis0" MaxBytes[192.168.1.100_2]: 3000000 Title[192.168.1.100_2]: Traffic Analysis for WAN -- m0n0wall.tehjunkyard.net PageTop[192.168.1.100_2]: <H1>Traffic Analysis for WAN -- m0n0wall.tehjunkyard.net</H1> <TABLE> <TR><TD>System:</TD> <TD>m0n0wall.tehjunkyard.net in "tehjunkyard.net"</TD></TR> <TR><TD>Maintainer:</TD> <TD>"mathias dot buren at gmail dot com"</TD></TR> <TR><TD>Description:</TD><TD>WAN</TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD>sis0</TD></TR> <TR><TD>Max Speed:</TD> <TD>2929.0 kBytes/s</TD></TR> <TR><TD>Ip:</TD> <TD>81.229.119.116 (81-229-119-116-no24.tbcn.telia.com)</TD></TR> </TABLE> ### Interface 3 >> Descr: 'lo0' | Name: '' | Ip: '127.0.0.1' | Eth: '' ### ### The following interface is commented out because: ### * it is a Software Loopback interface ### * has a speed of 0 which makes no sense # # Target[192.168.1.100_3]: 3:public@192.168.1.100: # SetEnv[192.168.1.100_3]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo0" # MaxBytes[192.168.1.100_3]: 0 # Title[192.168.1.100_3]: Traffic Analysis for 3 -- m0n0wall.tehjunkyard.net # PageTop[192.168.1.100_3]: <H1>Traffic Analysis for 3 -- m0n0wall.tehjunkyard.net</H1> # <TABLE> # <TR><TD>System:</TD> <TD>m0n0wall.tehjunkyard.net in "tehjunkyard.net"</TD></TR> # <TR><TD>Maintainer:</TD> <TD>"mathias dot buren at gmail dot com"</TD></TR> # <TR><TD>Description:</TD><TD>lo0 </TD></TR> # <TR><TD>ifType:</TD> <TD>softwareLoopback (24)</TD></TR> # <TR><TD>ifName:</TD> <TD></TD></TR> # <TR><TD>Max Speed:</TD> <TD>0.0 Bytes/s</TD></TR> # <TR><TD>Ip:</TD> <TD>127.0.0.1 (localhost)</TD></TR> # </TABLE> ########################################################################### I'm using mrtg-2.10.13. Any ideas? Regards, Mathias |