diff options
author | Nathan Angelacos <nangel@alpinelinux.org> | 2012-02-01 12:21:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-01 18:11:10 +0000 |
commit | 29c6db183490cac3b60c8b5f5bdc24f4c47d9bae (patch) | |
tree | cd30a613d50e7532447116bf4356f19229aff0d0 /testing/nfdump/nfcapd.confd | |
parent | 6f3d38eaf0b799c725d2b9239072fdfc6290ca21 (diff) | |
download | aports-29c6db183490cac3b60c8b5f5bdc24f4c47d9bae.tar.bz2 aports-29c6db183490cac3b60c8b5f5bdc24f4c47d9bae.tar.xz |
testing/nfdump: netflow tools Added init.d/nfcapd conf.d/nfcapd
Used fprobe as a model for the nfcapd (netflow collector) init script
Pulls all command line options from the conf.d/nfcapd file
Diffstat (limited to 'testing/nfdump/nfcapd.confd')
-rw-r--r-- | testing/nfdump/nfcapd.confd | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/testing/nfdump/nfcapd.confd b/testing/nfdump/nfcapd.confd new file mode 100644 index 000000000..fb9afb6e3 --- /dev/null +++ b/testing/nfdump/nfcapd.confd @@ -0,0 +1,62 @@ +# Config file for /etc/init.d/nfcapd + +# Port we listen on +PORT=2205 + +# Hostname/address we bind on - default is any available +BINDHOST=127.0.0.1 + +# IPv4 only +#IPV4=no + +# IPv6 only +#IPV6=no + +# Join a specific Multicast group +#MULTICASTGROUP= + +# Become a packet repeater +#REPEAT=desthost/port + + +# Ident string, specify the name of the router +#IDENT= + +# Base Directory for output files +BASEDIR="/var/log/nfcapd" + +# Source is one or more sources: Ident,IP,base_directory +# If you specificy SOURCE, do not specifiy IDENT or BASEDIR +#SOURCE="Foo,192.168.1.1,/var/log/nfcapd/foo Bar,192.168.1.2,/var/log/nfcapd/bar" + +# Sample Rate - defaults to source +#SAMPLERATE= + +# additional directory sub hierarchy (default none) +#SUBDIR="%Y/%m/%d" + + +# Extensions to be stored in the netflow data +#EXTENSIONS="all" + +# How often to rotate the files (in seconds) +#INTERVAL=300 + +# Do we align rotation with next even interval +#ALIGN=no + +# Run a command at the end of every interval +#ROTATECMD="" + +# Auto expire old files (yes/no) +#AUTOEXPIRE=no + +# User / Group +UID=nobody +GID=nobody + +# Buffer length in bytes (to reduce lost packets) +BUFFLEN=1024000 + +# Compress the flows with LZO (yes/no) +COMPRESS=yes |