Ntop is computer software that probes a computer network to show network use (Traffic Analytics) in a way similar to what the program top does for processes. In interactive mode, it displays the network status on the user’s terminal. In Web mode, it acts as a web server, creating a HTML dump of the network status. In this step by step guide I will show you how to install ntopng on your Synology NAS using Docker.
STEP 1
Please Support My work by Making a Donation.
STEP 2
InstallĀ Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
STEP 3
Go toĀ File StationĀ and open the docker folder. Inside the docker folder, create one new folder and name itĀ ntopng. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 4
Log into Portainer using your username and password. On the left sidebar in Portainer, click on StacksĀ thenĀ + Add stack. Follow the instructions in the image below.
STEP 5
In the Name field type in ntopng. Follow the instructions in the image below.
services: ntopng: hostname: ntopng image: ntop/ntopng:stable container_name: ntopng healthcheck: test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1 interval: 10s timeout: 5s retries: 3 start_period: 90s mem_limit: 4g cpu_shares: 768 security_opt: - no-new-privileges:true restart: on-failure:5 volumes: - /volume1/docker/ntopng:/var/lib/ntopng:rw network_mode: host command: --community
STEP 6
Scroll down on the page until you see a button namedĀ Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
STEP 7
If everything goes right, you will see the following message at the top right of your screen: āSuccess Stack successfully deployedā.
STEP 8
Go back toĀ STEP 1 or you will deal with karma š
STEP 9
Please waitĀ approximately 3 minutes for the installation to be completed or you will get a blank page if you try to connect too soon. Now open your browser and type in http://Synology-ip-address:3000 Type in the default username and password, then click Login.
STEP 10
After you click Login at STEP 9 you will be prompted to change the default admin password with your own. Click Change Password. Follow the instructions in the image below.
STEP 11
Choose your own network interface that you want to monitor. Follow the instructions in the image below.
All your devices Traffic Analytics at a glance.
Note: If you want to run the ntopng container over HTTPS, check my guide on How to Run Docker Containers Over HTTPS.
Note: Can I run Docker on my Synology NAS?Ā See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find outĀ how to update the ntopng container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers
This post was updated on Tuesday / November 5th, 2024 at 11:45 PM