[mrtg] Monitoring UDP traffic.

David U. davidu at gangstabitches.net
Mon Jun 4 19:00:29 MEST 2001


Hi,

I have setup MRTG on my linux machine to monitor eth0, eth1 and eth2 and it
looks like it is only monitoring TCP traffic.

For example, when I run a CounterStrike game server which uses a SERIOUS
amount of UDP traffic, at least 40-50K/s it doesn't show a blip and when I
ftp a file it shows a 100K/s transfer taking place.

How can I get MRTG to monitor UDP traffic.  The best scenario would be to
have UDP on it's own chart _AND_ on a "TCP/UDP" chart.

Also, is there a way to monitor how much traffic goes on one UDP port (53)
for example?

I couldn't find this information on the web site, thanks.

-David U.

PS: here is one entry I have for monitoring an ethernet port:
Target[ns1.everydns.net]: 3:private at localhost:
SetEnv[ns1.everydns.net]: MRTG_INT_IP="209.75.39.141" MRTG_INT_DESCR="eth1"
MaxBytes[ns1.everydns.net]: 125000
Title[ns1.everydns.net]: Traffic Analysis for eth1
PageTop[ns1.everydns.net]: <H1>Traffic Analysis for eth1 --
209.75.39.141</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Linux server</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>root at everydns.net</TD></TR>
   <TR><TD>Description:</TD><TD>eth1  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>209.75.39.141 (ns1.everydns.net)</TD></TR>
 </TABLE>


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