aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ntopng/files/ntopng.conf.d')
-rw-r--r--net-analyzer/ntopng/files/ntopng.conf.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/ntopng/files/ntopng.conf.d b/net-analyzer/ntopng/files/ntopng.conf.d
new file mode 100644
index 00000000..e6c60dd0
--- /dev/null
+++ b/net-analyzer/ntopng/files/ntopng.conf.d
@@ -0,0 +1,11 @@
+# Specify interface(s) to record traffic from:
+NTOPNG_OPTS="-i eth0"
+
+# Specify local network, to ensure that remote hosts don't cause the amount of
+# data ntopng records to grow in an uncontrolled fashion:
+NTOPNG_OPTS="${NTOPNG_OPTS} -m 192.168.0.0/16"
+
+# Specify the directory ntopng should write data to - noting that it will fall-
+# back to using /usr/tmp/ntopng if this directory is considered inaccessible
+# for any reason...
+NTOPNG_OPTS="${NTOPNG_OPTS} -d /var/lib/ntopng"