1 ###############################################################################
3 # This file, ntop.conf.sample is a sample of an ntop configuration file. #
5 # You should copy this file to it's normal location, /etc/ntop.conf #
6 # and edit it to fit your needs. #
8 # ntop is easily launched with options by referencing this file from #
9 # a command line like this: #
11 # ntop @/etc/ntop.conf #
13 # Remember, options may also be listed directly on the command line, both #
14 # before and after the @/etc/ntop.conf. #
16 # For switches that provide values, e.g. -i, the last one matters. #
17 # For switches just say 'do things', e..g -M, if it's ANYWHERE in the #
18 # commands, it will be set. There's no unset option. #
20 # You can use this to your advantage, for example: #
21 # ntop @/etc/ntop.conf -i none #
22 # Overrides the -i in the file. #
24 ###############################################################################
26 # Initial version by Burton M. Strauss III (Burton@ntopsupport.com) #
28 # Updates and documentation courtesy of #
29 # Joseph Ezerski (jezerski@broadcom.com) (04-2003) #
31 ###############################################################################
33 # Sets the user that ntop runs as.
34 # NOTE: This should not be root unless you really understand the security risks.
38 # Sets the directory that ntop runs from
39 # (but please set this in /etc/sysconfig/ntop, not here).
40 #--db-file-path /var/lib/ntop
42 # interface(s) that ntop will capture on
43 # DEFAULT: The 1st ethernet device, e.g. eth0
47 # Configures ntop not to trust MAC addrs. This is used when port mirroring or SPAN
50 # Logging messages to syslog (instead of the console):
51 # NOTE: To log to a specific facility, use --use-syslog=local3
52 # NOTE: The = is REQUIRED and no spaces are permitted.
56 # Tells ntop to track only local hosts as specified by the --local-subnets option
60 # Sets the port that the HTTP webserver listens on
61 # NOTE: --http-server 3000 is the default
65 # Sets the port that the optional HTTPS webserver listens on
69 # Sets the networks that ntop should consider as local.
70 # NOTE: Uses dotted decimal and CIDR notation. Example: 192.168.0.0/24
71 # The addresses of the interfaces are always local and don't need to be specified.
73 #--local-subnets 192.168.0.0/24
75 # Sets the domain. ntop should be able to determine this automatically.
77 #--domain mydomain.com
79 # Allows rrd to reuse graphics (reduces cpu usage) if the data has not changed.
83 #Sets program to run as a daemon
84 # NOTE: For more than casual use, you probably want this.
85 # but it's already passed by init script, so don't uncomment as it would
86 # disallow running foreground ntop with this config file (e.g. for debugging)