All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] monitoring hosts from my lan
@ 2007-02-15 14:19 gregori andres
  2007-02-16 11:37 ` Grzegorz Chwesewicz
  2007-02-16 15:49 ` Vladimir Vitkov
  0 siblings, 2 replies; 3+ messages in thread
From: gregori andres @ 2007-02-15 14:19 UTC (permalink / raw)
  To: lartc


Hi,

there is a way to graph host's traffic from my lan ?

I've a linux router (2.4.x kernel), and a lan:

linux router : 192.168.1.254
host 1: 192.168.1.1
host 2: 192.168.1.2
host 3: 192.168.1.3

I'm looking for a way to graph traffic ( in / out )
from each 3 hosts, and store total traffic on a
mysql table, in order to make statistics later.

I think I can do with Mrtg, Cacti, or RRD, but I don't
know how to get total traffic data for each host. 

I also think that I can put ACCEPT rules on FORWARD
iptables chain (for each host), and later get total 
traffic data from iptables -L FORWARD -vn , but I 
think that this way is a bit hard... :-(
there is a easyer way ?

best regards

andres.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] monitoring hosts from my lan
  2007-02-15 14:19 [LARTC] monitoring hosts from my lan gregori andres
@ 2007-02-16 11:37 ` Grzegorz Chwesewicz
  2007-02-16 15:49 ` Vladimir Vitkov
  1 sibling, 0 replies; 3+ messages in thread
From: Grzegorz Chwesewicz @ 2007-02-16 11:37 UTC (permalink / raw)
  To: lartc

On Thu, 15 Feb 2007 11:19:22 -0300, gregori andres wrote
> Hi,
> 
> there is a way to graph host's traffic from my lan ?
> 
> I've a linux router (2.4.x kernel), and a lan:
> 
> linux router : 192.168.1.254
> host 1: 192.168.1.1
> host 2: 192.168.1.2
> host 3: 192.168.1.3
> 
> I'm looking for a way to graph traffic ( in / out )
> from each 3 hosts, and store total traffic on a
> mysql table, in order to make statistics later.

<cut>

For logging traffic to mysql You can use ulogd from
http://www.netfilter.org/projects/ulogd/index.html

--
Grzegorz Chwesewicz
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] monitoring hosts from my lan
  2007-02-15 14:19 [LARTC] monitoring hosts from my lan gregori andres
  2007-02-16 11:37 ` Grzegorz Chwesewicz
@ 2007-02-16 15:49 ` Vladimir Vitkov
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Vitkov @ 2007-02-16 15:49 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

For traffic accounting you can look at pmacct or ipaudit

On 16/02/07, Grzegorz Chwesewicz <ceho@chilan.com> wrote:
> On Thu, 15 Feb 2007 11:19:22 -0300, gregori andres wrote
> > Hi,
> >
> > there is a way to graph host's traffic from my lan ?
> >
> > I've a linux router (2.4.x kernel), and a lan:
> >
> > linux router : 192.168.1.254
> > host 1: 192.168.1.1
> > host 2: 192.168.1.2
> > host 3: 192.168.1.3
> >
> > I'm looking for a way to graph traffic ( in / out )
> > from each 3 hosts, and store total traffic on a
> > mysql table, in order to make statistics later.
>
> <cut>
>
> For logging traffic to mysql You can use ulogd from
> http://www.netfilter.org/projects/ulogd/index.html
>
> --
> Grzegorz Chwesewicz
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>


-- 
С уважение,
Владимир Витков

http://www.netsecad.com
http://www.supportbg.com

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-16 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-15 14:19 [LARTC] monitoring hosts from my lan gregori andres
2007-02-16 11:37 ` Grzegorz Chwesewicz
2007-02-16 15:49 ` Vladimir Vitkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.