[mrtg] Re: traffic on particular port
Steve Shipway
s.shipway at auckland.ac.nz
Fri Oct 27 00:17:04 MEST 2006
> Target[web-80]: 80:community at 192.168.100.20:
> MaxBytes[web-80]: 12500000
> Options[web-80]: growright, bits, integer, nobanner
...
> snmpget problem for ifinoctets.80ifoutoctets.80 sysuptime sysname on
> community at 192.168.100.20.........
>
You are confusuing the TCP port number (eg: web goes through TCP/80 by
convention) with the device interface number (eg: your first interface
is usually 1, second is 2, etc). This confusion is probably due to the
fact that, if the device in question is a switch, people will often call
the interfaces 'ports'. This is referring to the *physical* port, not
the *TCP* port.
MRTG in this syntax takes the number as the interface number. Your
device probably does not have an interface number 80, so you get the
error.
If you want to work out how much traffic is for TCP port 80, then you
have a much harder job and most routers/switches do not support this.
You will need to get something called an RMAN probe and work out how to
configure it and query it. Or, set up specific logging on a host
firewall and query the counters in the logs. It is not simple!
Steve
--
Steve Shipway
ITSS, University of Auckland
(09) 3737 599 x 86487
s.shipway at auckland.ac.nz
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list