Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NTOPNG and nProbe in Docker - nProbe Restarting #18

Open
vanquishsecurity opened this issue Aug 29, 2023 · 1 comment
Open

NTOPNG and nProbe in Docker - nProbe Restarting #18

vanquishsecurity opened this issue Aug 29, 2023 · 1 comment

Comments

@vanquishsecurity
Copy link

When trying to use the following Dockerfile to install NTOPNG, nProbe, and Redis, nProbe container fails to start .

I am using the official Github for NTOPNG here https://github.com/ntop/docker-ntop/tree/master. (one from Readme without clickhouse) Once the Docker compose up is done installing, I ran the "docker ps -a" and see two nProbe containers running. One says up, one says restarting.

Does the office Docker image ntop/ntopng:stable already include nProbe?

if I dont run the detach and watch the startup, I see the following error

nProbe keeps restarting with error of "[nprobe.c:5572] ERROR: Unable to read config. file nprobe netmon-nprobe_collector-1 exited with code 255"

docker ps

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

1fee9505eebf redis:alpine "docker-entrypoint.s…" 21 minutes ago Up 4 minutes 0.0.0.0:6379->6379/tcp, :::6379->6379/tcp netmon-redis-1

4a2c854e789f ntop/nprobe:stable "/run.sh nprobe --zm…" 21 minutes ago Restarting (255) 15 seconds ago netmon-nprobe_collector-1

4dcadf54887c ntop/ntopng:stable "/run.sh --community…" 21 minutes ago Up 4 minutes

I do not see an directory or nprobe .conf file in the nprobe container. The NTOPNG container has in /etc/nprobe.

docker exec -it 4dcadf54887c ls -la /etc/ntopng

total 20

drwxrwxr-x 3 ntopng ntopng 4096 Aug 25 10:38 .

drwxr-xr-x 1 root root 4096 Aug 28 18:13 ..

-rw-rw-r-- 1 ntopng ntopng 3087 Aug 25 10:25 ntopng.conf

drwxrwxr-x 2 ntopng ntopng 4096 Aug 25 10:38 ntopng.conf.d

-rw-rw-r-- 1 ntopng ntopng 1472 Aug 25 10:25 ntopng.conf.nprobe.sample

I cant find anything on the web that has a solution.

@meuced
Copy link

meuced commented Mar 7, 2024

Hello, i just had the same problem, and i just have to remove the parameter "nprobe" from the "command" line in the compose.yml :

command: ['--zmq', '"tcp://172.30.20.98:5556"', '--interface', 'none', '-n', 'none', '--collector-port', '2055', '-T', '"@NTOPNG@"', '--collector-passthrough']

instead of :

command: ['nprobe', '--zmq', '"tcp://172.30.20.98:5556"', '--interface', 'none', '-n', 'none', '--collector-port', '2055', '-T', '"@NTOPNG@"', '--collector-passthrough']

I know it's been a while that you opened this issue, but if someone else is blocked on this, and if the maintener could correct this too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants