monitoring hosts from my lan
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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
On Thu, 15 Feb 2007 11:19:22 -0300, gregori andres wrote
Quoted 6 lines
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:
Quoted 8 lines
linux router : 192.168.1.254
host 1: 192.168.1.1
host 2: 192.168.1.2
host 3: 192.168.1.3I'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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
For traffic accounting you can look at pmacct or ipaudit
Quoted 28 lines · Grzegorz Chwesewicz
On Thu, 15 Feb 2007 11:19:22 -0300, gregori andres wrote
Quoted 6 lines
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:
Quoted 8 lines
linux router : 192.168.1.254
host 1: 192.168.1.1
host 2: 192.168.1.2
host 3: 192.168.1.3I'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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Signature · 5 lines
С уважение, Владимир Витков http://www.netsecad.com http://www.supportbg.com
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc