39675045a0
to make it more functional and userfriendly - added cflowd's startup script to FILESDIR, add startup options to it, that are only valid for the patched cflowd. So later we overwrite the sample startup script of "stock" cflowd. This is done this way, because cflowd also can be used without flowscan. But *if* we use cflowd with flowscan, we have to manage things to work with flowscan. - install sample Makefile to graphs directory, so you can generate graphs more easily as being described in the docu (see INSTALL) - Added comments to pkg-message file, that this Makefile has to be updated whenever you add or remove protocol types in ${PREFIX}/var/db/flows/bin/CampusIO.cf - comment post-install section more.. - keep_me file could be removed, since we install the sample Makefile now in the graphs subdir
33 lines
1.6 KiB
Text
33 lines
1.6 KiB
Text
This is not an "easy" port. You have to take many things into consideration,
|
|
what flow data to collect (disk space, etc), how and when to remove unneeded
|
|
flow files. And you have to know, what it is all about. If you don't know
|
|
Cisco NetFlow switching and its data export feature, then I recommend you
|
|
to deinstall this port.
|
|
|
|
Prerequisites:
|
|
A) You need to read the installation instructions closely, see:
|
|
${PREFIX}/share/doc/flowscan/INSTALL
|
|
|
|
B) You need to configure your Cisco Router, to enable Netflow Switching
|
|
and Netflow data export.
|
|
|
|
PLEASE NOTE, YOU HAVE TO KNOW EXACTLY, IF YOU REALLY WANT TO ENABLE NETFLOW
|
|
SWITCHING ON YOUR CISCO CORE OR DISTRIBUTION ROUTERS, WHAT PERFORMANCE IMPACT
|
|
MIGHT BE INVOLVED WHEN DOING THIS, WITH THE GOAL, NOT TO LOOSE YOUR ROUTING/
|
|
SWITCHING PERFORMANCE. BE WARNED !!!
|
|
|
|
Post-installation tasks involve:
|
|
a) Configure cflowd properly for your needs, see above mentioned docu !
|
|
Example files reside in ${PREFIX}/etc, files:
|
|
cflowd.conf.example and cfdcollect.conf
|
|
b) Configure flowscan, see above mentioned docu !
|
|
Example files reside in ${PREFIX}/var/db/flows/bin, files:
|
|
"foo".sample ...
|
|
c) Customize and install crontab file, example see:
|
|
${PREFIX}/share/doc/flowscan/crontab.sample
|
|
d) Activate flowscan startscript by renaming it as usual, see example in:
|
|
${PREFIX}/etc/rc.d/flowscan.sh.sample
|
|
e) Create graphs using make by customizing the sample Makefile, see docu !
|
|
${PREFIX}/var/db/flows/graphs/Makefile.sample
|
|
Please note, that the Makefile has to be reconfigured if you add
|
|
or remove protocols in ${PREFIX}/var/db/flows/bin/CampusIO.cf !
|