Hi, pmacct is a really impressive tool and has a lot of tweak options.
I'm working to setup a large netflow infrastructure, but I still get
some troubles, with a very high cpu load on database operations.
tweak, tweak, tweak ;)
Well, I wrote a very "quick'n'dirt" shell script to execute flow-gen
(flow-tools) and send packets to nfacctd. Everything looks very well,
except for some warning messages in log file:
WARN: expecting flow '1980' but received '0' collector=0.0.0.0:2100
agent=127.0.0.1:0
Should I care about ? (please, 1980 is not my birth year ;)
------------------------------------------ netflow-torture.sh
--------------------------------------------------------------
#!/bin/sh
NUMFLOWPACKETS=2000
FLOWVERSION=5
FLOWRECEIVER="0/127.0.0.1/2100"
INTERVAL=1
counter=1
while true; do
echo "#$counter - $(date +%c) - Sending $NUMFLOWPACKETS flow
packets to ($FLOWRECEIVER)"
flow-gen -V $FLOWVERSION -n $NUMFLOWPACKETS | flow-send $FLOWRECEIVER
counter=$(($counter + 1))
sleep $INTERVAL
done
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists