[mrtg] Re: monitoring traffic in & out of Linux box

Merton Campbell Crockett mcc at TO.GD-ES.COM
Sat Nov 4 20:37:02 MET 2000

On Sat, 4 Nov 2000, [iso-8859-1] Ragnar Kjørstad wrote:

> On Sat, Nov 04, 2000 at 11:12:43AM -0500, Leigh Orf wrote:
> > I hope this isn't too much of a dumb question...
> > 
> > MRTG seems to be used mostly to monitor traffic in & out of routers. I
> > would like to monitor only traffic coming in and out of a particular
> > computer which is running Linux. Is it as simple as getting snmpd
> > running on the Linux machine? I tried this a while ago and couldn't get
> > it to work. Any pointers would be appreciated. Thanks....
> You need a running snmpd, yes, but there is also a different problem:
> linux doesn't do network accounting on the number of bytes transfered,
> only the number of packets. (at least it used to). You can do byte
> accounting by using ipchains, but it's a little bit more work to setup.

Another approach is to simply monitor the router or hub port to which the
system is connected.  To report from the perspective of the system use the
hyphen to reverse the sense of receive and transmit.

Merton Campbell Crockett

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