nProbe not picking up GeoIP files
Open
@lucaderi is already working on this.
Since Oct 8, 2020.
low-priority bug
- Dominant language
- Lua
- Stars
- 1.8k
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.