Re: MRTG and catching data from LAN IP's ,how ??

Ton Muller <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <[email protected]>
On 19-6-2012 12:24, Steve Shipway wrote:
> "i have MRTG now runing for a while, made some snity script to collect
> all kind of data.
> but the only thing i still cant get to work is, how to catch trafic data
> from every network interface on my local network."
> 
> You could run cfgmaker against every host on your network (assuming they all have SNMP enabled) and graph each one via MRTG that way.
> 
> Otherwise, you'll need to set up a server on a span port of your switch, enable some sort of packet sniffer and write some custom scripts to parse the output of that and calculate traffic per device.
> 
> For my home network, I set up some special iptables rules on the linux gateway to count bytes per IP address going to the Internet and read these via custom scripts, so that I could keep track of who was using our monthly quota.
> 
> Steve
> 
> Steve Shipway
> University of Auckland ITS
> UNIX Systems Design Lead
> [email protected]
> Ph: +64 9 373 7599 ext 86487
> 
> 

Hello steve.
wel, most of my machines are windows briks, and as far i know, windows
does not have SNMP installed.
and my switch is a dumbass model with no inteligence for SNMP
my OS is openBSD ,and it does not have iptables, it uses pfctlon it.
Previous router project was freesco, and with ipfwadm i could collect
all data i needed.
it even got worse now, i got a new modem from my ISP, and the stupid
brik has NO SNMP at al, so i have collect trafic data with statgrab
catching data on external eth card.

the only program that give me data per lan IP, is darkstat, but i am not
(yet) able to hack in the webserver stats....

so, i am bit stuck here.

thnxs for response.

Tony.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.