Problem: Capturing V5 flows via flowtools based method, reporting by exporter fails.
I have 5 flow-tools based collectors running , capturing V5 data from 5 7200 series devices and storing the data in the /opt/flowdata tree. I leveraged flow-fanout to build a sixth composite collection run searches across the complete group of routers specified flowviewer .
In flowviewer i have 6 devices defined: allrouters, and routers 1 through 5.
GOAL: My Goal is to efficiently store and search individual router collections or across a predefined group of routers, without storing multiple copies of the flowdata like i’m doing with flow-fanout. The flow-fanout method works but there’s alot of redundant disk and I/O being chewed up by duplicating every capture.
It was suggested that I try to use exporters rather than devices in flowviewer to be able to specify a specific exporter or a larger group (device) . I found that the flowviewer app was trying to use silk tools
to process collections specified by exporter, and use flowtool tools when searching specified device. Since all of my collections are flowtools based, using exporters as it is today becomes a problem.
Reports by DEVICE allows me to select any of my six ‘devices’ and works as expected in the flowviewer http interface.
Reports by EXPORTER allows me to select any of the 5 defined exporters above but returns quickly with a blank report.
I set all debug parameters to “Y” in the config file and retested.
In the http error log i have the following messages associated with the report attempt:
I have eliminated the fanout from the config and the results are the same. This config example is “slimmed down” for purposes of this post.
I have 30+ devices in several organizational groups like the one group ‘allrouters’ described above sending to this box.
Optimally i’d like to dump groups of routers to common ports, search across routers by ‘device’, and search separate devices by ‘exporter’.
IE: web routers to port 9001, core routers to 9002, dist routers to 9003, etc.. then get granular with exporters.
Thanks !
Last edit: Mike Donnelly 2013-07-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I identified the problem as how i cleared out the @ipfix_devices array.
BAD:
@ipfix_devices = ("") ; # for SiLK
caused FV/FG to handle all exporter requests with silk tools. Commenting
out the array or adding a dummy device to the array made it behave again.
GOOD:
@ipfix_devices = (" ") ; # for SiLK
or
@ipfix_devices = ("router_silk_1") ; # for SiLK
Capturing V5 flows via flowtools based method, reporting by exporter
fails.
Problem: Capturing V5 flows via flowtools based method, reporting by exporter fails.
I have 5 flow-tools based collectors running , capturing V5 data from 5 7200 series devices and storing the data in the /opt/flowdata tree. I leveraged flow-fanout to build a sixth composite collection run searches across the complete group of routers specified flowviewer .
In flowviewer i have 6 devices defined: allrouters, and routers 1 through 5.
GOAL: My Goal is to efficiently store and search individual router collections or across a predefined group of routers, without storing multiple copies of the flowdata like i’m doing with flow-fanout. The flow-fanout method works but there’s alot of redundant disk and I/O being chewed up by duplicating every capture.
It was suggested that I try to use exporters rather than devices in flowviewer to be able to specify a specific exporter or a larger group (device) . I found that the flowviewer app was trying to use silk tools
to process collections specified by exporter, and use flowtool tools when searching specified device. Since all of my collections are flowtools based, using exporters as it is today becomes a problem.
System Overview:
Centos 6.4 / Flowtools 0.68 / Flowviewer 4.1 / Apache 2.2.15 / silk 2.5.0 / rrdtool 1.3.8
Some debugging info :
Does the collection contain exporter information? Yes
flow-stat -f27 < allrouters/..../ft-v05.2013-07-08.100000-0400|grep 10.8|awk {'print $1'}
How did you configure the @devices array in the config file:
How did you configure the @exporters array in the config file:
Any Ipfix at all? : Nope
Reports by DEVICE allows me to select any of my six ‘devices’ and works as expected in the flowviewer http interface.
Reports by EXPORTER allows me to select any of the 5 defined exporters above but returns quickly with a blank report.
I set all debug parameters to “Y” in the config file and retested.
In the http error log i have the following messages associated with the report attempt:
Flow Grapher fails equally as quickly, but with a bit more noise:
cat ./cgi-bin/Flow_Working/DEBUG_VIEWER
[root@enetnms1 flowviewer]# more ./cgi-bin/Flow_Working/DEBUG_GRAPHER
I have eliminated the fanout from the config and the results are the same. This config example is “slimmed down” for purposes of this post.
I have 30+ devices in several organizational groups like the one group ‘allrouters’ described above sending to this box.
Optimally i’d like to dump groups of routers to common ports, search across routers by ‘device’, and search separate devices by ‘exporter’.
IE: web routers to port 9001, core routers to 9002, dist routers to 9003, etc.. then get granular with exporters.
Thanks !
Last edit: Mike Donnelly 2013-07-09
I identified the problem as how i cleared out the @ipfix_devices array.
BAD:
@ipfix_devices = ("") ; # for SiLK
caused FV/FG to handle all exporter requests with silk tools. Commenting out the array or adding a dummy device to the array made it behave again.
GOOD:
@ipfix_devices = (" ") ; # for SiLK
or
# @ipfix_devices = ("router_silk_1") ; # for SiLK
Thanks for the useful info Mike. I'm fixing this.
Joe
From: "Mike Donnelly" mpdsville1@users.sf.net
To: "[flowviewer:discussion] "
general@discussion.flowviewer.p.re.sf.net
Date: 07/09/2013 02:44 PM
Subject: [flowviewer:discussion] Capturing V5 flows via flowtools
based method, reporting by exporter fails.
I identified the problem as how i cleared out the @ipfix_devices array.
BAD:
@ipfix_devices = ("") ; # for SiLK
caused FV/FG to handle all exporter requests with silk tools. Commenting
out the array or adding a dummy device to the array made it behave again.
GOOD:
@ipfix_devices = (" ") ; # for SiLK
or
@ipfix_devices = ("router_silk_1") ; # for SiLK
Capturing V5 flows via flowtools based method, reporting by exporter
fails.
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/flowviewer/discussion/general/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/