All apps · 0 apps
ntopng
Docker app from hoody424's Repository
Overview
Readme
View on GitHubntopng for Unraid
ntopng is a web-based
network traffic analysis tool. Template: ntopng.xml, image:
ntop/ntopng (official, Community edition without a license).
Redis is required
ntopng keeps its users, passwords and settings in Redis. The official image starts its own Redis inside the container, but that Redis runs as an unprivileged user and cannot save into an Unraid appdata folder. Without an external Redis, every restart or update resets ntopng to admin/admin with default settings.
So run a Redis container first, for example the Redis app from Community
Apps, publishing port 6379. ntopng reaches it as 127.0.0.1:6379 because it
uses host networking. The @3 in -r 127.0.0.1:6379@3 selects Redis database
3; pick a number no other app uses (many apps use 0 and 1).
Options
Everything is set in ntopng options (variable NTOP_CONFIG):
| Option | Default | Meaning |
|---|---|---|
-i |
br0 |
Interface to monitor. br0 on most Unraid servers; eth0 or bond0 without bridging. Repeat -i for several. |
-w |
3000 |
Web port. With host networking it must be free on the server; change the WebUI link too. |
-r |
127.0.0.1:6379@3 |
Redis host:port@database. |
-m |
private ranges | Local networks, comma-separated, no spaces or quotes. |
Don't use quotes in the options: the image passes them on literally.
The template adds --cap-add=NET_ADMIN --cap-add=NET_RAW. Without them
ntopng logs "Unable to enable capabilities".
First login
Open http://<server>:3000, log in as admin / admin and set a new
password when asked.
Support
- Template problems: issues
- ntopng itself: ntop/ntopng
Requirements
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allDetails
ntop/ntopng:latestRuntime arguments
- Web UI
http://[IP]:[PORT:3000]/- Network
host- Shell
bash- Privileged
- false
- Extra Params
--cap-add=NET_ADMIN --cap-add=NET_RAW
Template configuration
Command line options. -i interface to monitor, -w web port (also change the WebUI link), -r Redis host:port@database (pick a database number no other app uses), -m local networks, comma-separated without spaces or quotes.
- Target
- NTOP_CONFIG
- Default
- -i br0 -w 3000 -r 127.0.0.1:6379@3 -m 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
- Value
- -i br0 -w 3000 -r 127.0.0.1:6379@3 -m 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
Time series and runtime data. ntopng changes the owner of this folder itself.
- Target
- /var/lib/ntopng
- Default
- /mnt/user/appdata/ntopng/data
- Value
- /mnt/user/appdata/ntopng/data