The ntopng Configuration File

Command line options can be grouped in a plain text file, that is typically named ntopng.conf. Note that any name is acceptable except when ntopng is run as a daemon in which case ntopng.conf file name must be used.

Options in the configuration file must be reported one per line. Comment lines are accepted as well and have to be prefixed with a #. Option name and option value must be separated with a =. The latter is necessary even for options that doesn’t require a value. For example, to disable interface promiscuous mode, one would use --no-promisc when starting ntopng directly from the command line or would add a line --no-promisc= in the configuration file when starting ntopng as a daemon.

An example of a configuration file is the following

# Listen on localhost:3000 only

# Use prefix due to nginx proxy

# Everybody's admin

# Do not resolve any names

# Limit memory usage

# Dump flows to MySQL