You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
236 B
11 lines
236 B
#!/bin/sh
|
|
|
|
DUMP_DIR="/var/db/flows"
|
|
|
|
DUMP_FILE="$DUMP_DIR/$1"
|
|
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
|
|
CUR_DIR=`dirname $0`
|
|
|
|
|
|
flow-print -f3 < ${DUMP_FILE} | ${CUR_DIR}/netflow_handler.py \
|
|
| mysql -uroot -p jungagent --password=ps
|