В сообщении от 17 Май 2005 16:50 [EMAIL PROTECTED] написал(a):
> Hi,
> I have two Cisco routers that export NetFlow packet to the same server on
> port 2055. On this server I have only one instance of flow-capture that
> listens on port 2055.
> I'd like to know if there is a simple way to have NetFlow data of
> each router into different directories whithout running multiple instances
> of flow-capture on different ports.
>

It is one of the first my programs with use flow-lib and you can use it at own 
risk. testing only if nesting level set to -1. ;)
use example: flow-capture -w some_dir -R flow_exporter_sort -N-1

1.please edit Makefile and set
INCLUDE and LIBDIR to location of libs and headers from flow-tools.
2. please edit defs.h and set 
flow_work_dir to your flow work dir (as -w param on flow-capture)
exporters_dir to value in a directory for storage exporters flow_files

The program collect from flow_file all exporter_ip and store exporters data on 
structure of catalogues : 
exporters_dir/collected_exporter_ip/YYYY-MM-DD/flow_file_name_received_from_flow_capture
 .

3. make and copy flow_exporter_sort  to your location.

Please, if this program is necessary for you - test it on backup data and 
inform me on the found any errors. At distribution the request to specify a 
copyright flow-tools developers and, below, me.

Attachment: sort_flows.tar.gz
Description: application/tgz

_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to