ntop / ntopng

Web-based Traffic and Security Network Traffic Monitoring
http://www.ntop.org
GNU General Public License v3.0
6.17k stars 648 forks source link

Ntopng can't connect Clickhouse #8512

Closed AnhTuanNguyenn closed 2 months ago

AnhTuanNguyenn commented 2 months ago

Environment:

What happened: hello, when i try to connect ntopng with an server external clickhouse i can't start ntopng on the web, but when i commented the line " -F="clickhouse;10.X.X.X@9000;ntopng;default;pwd" in the file config i can connect it normally.

In the log i can't see any information about connection clichouse, this is the log when i try to start with the option -F....

[23.09.1-RELEASE][admin@PF-02-SLAVE]/var/db/ntopng: service ntopng start Starting ntopng. 10/Jul/2024 17:07:40 [Redis.cpp:171] Successfully connected to redis 127.0.0.1@0 10/Jul/2024 17:07:40 [Redis.cpp:171] Successfully connected to redis 127.0.0.1@0 10/Jul/2024 17:07:40 [NtopPro.cpp:348] [LICENSE] Reading license from /usr/local/etc/ntopng.license 10/Jul/2024 17:07:40 [NtopPro.cpp:495] [LICENSE] /usr/local/etc/ntopng.license: found valid Enterprise M license 10/Jul/2024 17:07:40 [NtopPro.cpp:634] WARNING: [LICENSE] Your license will expire on Wed Jul 17 15:43:09 2024 10/Jul/2024 17:07:41 [NetworkInterface.cpp:3839] Cleanup interface dummy 10/Jul/2024 17:07:41 [Ntop.cpp:2604] Parent process is exiting (this is normal) [23.09.1-RELEASE][admin@PF-02-SLAVE.]/var/db/ntopng: service ntopng status ntopng is running as pid 14605. [23.09.1-RELEASE][admin@PF-02-SLAVE]/var/db/ntopng: service ntopng status ntopng is running as pid 14605. [23.09.1-RELEASE][admin@PF-02-SLAVE]/var/db/ntopng: service ntopng status ntopng is not running. [23.09.1-RELEASE][admin@PF-02-SLAVE]/var/db/ntopng: cd

fyi: i can connect the clickhouse server by using clickhouse client on the my pfsense server

AnhTuanNguyenn commented 2 months ago

it's okay now, you can close this issue