...
Code Block | ||
---|---|---|
| ||
cd /usr/local tar xvf ~/opFlow-Linux-x86_64-<version>.tar.gz cd opmantek/ cp install/opCommon.nmis conf/ cp install/opFlow.nmis conf/ bin/opfixperms.pl cp install/01opmantek.conf /etc/httpd/conf.d/ service httpd restart |
Considerations for NetFlow Data Storage
NetFlow data can get away on you, there could be several Gigabytes of NetFlow data each hour, day or month, this is all very dependant on where you are generating netflow from, the number of active users and the types of applications they are using. A longer discussion on this will be written up, but in summary, if you are expecting large amounts of NetFlow data, then you will want to consider storing the MongoDB database and the NetFlow data into a filesystem with 50 gigabytes or more. During development we found 20gigabytes was enough for our purposes, but caused problems with the flow files mainly.
opFlow is highly configurable and customisable, so it is easy to just have the flowd data be a seperate filesystem and update the configuration accordingly.
'<opflow_dir>' => '/data/opflow',
mongodbpath=/data/mongodb
logfile "/data/opflow/flowd"
Alternate Installation Directory
...
Edit opFlow.nmis and opCommon.nmis and change the <omk_base> to be the new, e.g.
'<omk_base>' => '/opt/opmantek',
Edit the Apache include file, which if already copied to /etc/httpd/conf.d will be /etc/httpd/conf.d/01opmantek.conf and change the following lines to the new installation location
...
<Directory "/usr/local/opmantek/cgi-bin">
...
Install flowd NetFlow Daemon
...