Skip to content

Ntopng

services.ntopng.configText

Overridable configuration file contents to use for ntopng. By default, use the contents automatically generated by NixOS.

Type: strings concatenated with "\n"

Default

""

Example

'' --interface=any --http-port=3000 --disable-login''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntopng.nix

services.ntopng.enable

Enable ntopng, a high-speed web-based traffic analysis and flow collection tool.

With the default configuration, ntopng monitors all network interfaces and displays its findings at http://localhost:${toString config.services.ntopng.http-port}. Default username and password is admin/admin.

See the ntopng(8) manual page and http://www.ntop.org/products/ntop/ for more info.

Note that enabling ntopng will also enable redis (key-value database server) for persistent data storage.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntopng.nix

services.ntopng.extraConfig

Configuration lines that will be appended to the generated ntopng configuration file. Note that this mechanism does not work when the manual {option}configText option is used.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntopng.nix

services.ntopng.httpPort

Sets the HTTP port of the embedded web server.

Type: signed integer

Default

3000

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntopng.nix

services.ntopng.interfaces

List of interfaces to monitor. Use "any" to monitor all interfaces.

Type: list of string

Default

["any"]

Example

["eth0""wlan0"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntopng.nix

services.ntopng.redis.address

Redis address - may be a Unix socket or a network host and port.

Type: string

Example

config.services.redis.ntopng.unixSocket

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntopng.nix

services.ntopng.redis.createInstance

Local Redis instance name. Set to null to disable local Redis instance. Defaults to "" for system.stateVersion older than 22.05.

Type: null or string

Default

"ntopng"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ntopng.nix