aboutsummaryrefslogtreecommitdiffstats
path: root/main/nfdump/sfcapd.confd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-12-10 10:40:01 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-12-10 10:43:42 +0000
commite490ba69b1f34788f3da6e2ed2cfcddb787861f7 (patch)
treeb38b3ec173d8785458b59e42b1cf67f2797d25be /main/nfdump/sfcapd.confd
parent6dc6352315dab985e4f651ddae90e7db19b247f8 (diff)
main/nfdump: enable sflow collector
Diffstat (limited to 'main/nfdump/sfcapd.confd')
-rw-r--r--main/nfdump/sfcapd.confd64
1 files changed, 64 insertions, 0 deletions
diff --git a/main/nfdump/sfcapd.confd b/main/nfdump/sfcapd.confd
new file mode 100644
index 00000000000..d7ef8bfc49f
--- /dev/null
+++ b/main/nfdump/sfcapd.confd
@@ -0,0 +1,64 @@
+# Config file for /etc/init.d/sfcapd
+
+# Port we listen on
+# defaults to 6343
+#PORT=6343
+
+# 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
+# Defaults to nobody
+#UID=nobody
+#GID=nobody
+
+# Buffer length in bytes (to reduce lost packets)
+BUFFLEN=1024000
+
+# Compress the flows with LZO (yes/no)
+COMPRESS=yes