On 17/06/04 14:52 -0700, Adam Towarnyckyj wrote:
<snip>
>       I've used the following options in order to try and slim down
> NTOP:
> --disable-decoders
> --disable-sessions
> --numeric-ip-addresses
Use a bpf filter to only track packets on your network(s).
Something like: -B "net 192.168.0.0/16 or net 202.142.105.80/28" should
help.
<snip>
>       My question is: can anyone suggest a method to trim down NTOP
> more so that I can run it on the machine and not kill the ram and swap
> file? The way it is now, I can't even generate reports without a timeout
> occurring.
In addition to the BPF filter, I dump the data every few minutes and
zero out current counters. The dumped data is moved into a PostgreSQL
database.

>       I would also like to know if this is the best way to be going
> about this. Will NTOP do what I am asking of it with such a large
> network or should I find another alternative? And if this is the case,
> anyone have any suggestions?
An alternative would be to run iptables and use the packet counters on
each chain. You need one entry for outward traffic and one for inward.
A parser for this is trivial to implement.

Devdas Bhagat
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to