nProbe icon indicating copy to clipboard operation
nProbe copied to clipboard

nProbe not picking up GeoIP files

Open simonemainardi opened this issue 5 years ago • 0 comments

simone@devel:~/nProbe$ sudo apt-get install nprobe ntopng-data
simone@devel:~/nProbe$ ls -lha /usr/share/ntopng/httpdocs/geoip/dbip*
-rw-rw-r-- 1 root root 6.8M Oct  8 15:39 /usr/share/ntopng/httpdocs/geoip/dbip-asn-lite.mmdb
-rw-rw-r-- 1 root root 5.0M Oct  8 15:39 /usr/share/ntopng/httpdocs/geoip/dbip-country-lite.mmdb

nProbe complains:

08/Oct/2020 16:34:02 [nprobe.c:10069] Flows ASs will not be computed (no GeoDB files loaded)

Either if I start it with or without -A:

sudo /usr/local/bin/nprobe -i eno1 -n none --zmq tcp://127.0.0.1:5556 --zmq-probe-mode -t 10 -d 10 -A /usr/share/ntopng/httpdocs/geoip/dbip-asn-lite.mmdb
sudo /usr/local/bin/nprobe -i eno1 -n none --zmq tcp://127.0.0.1:5556 --zmq-probe-mode -t 10 -d 10

I think correct behavior is:

  • automatically try and load the database without -A
  • honor what is specified with -A

simonemainardi avatar Oct 08 '20 15:10 simonemainardi