javadmohebbi / goNfCollector

A set of tool to collect & analyze netflow & export them to many DBs & Apps like InfluxDB time-series DB
94 stars 20 forks source link

Errors nfcollector - Can not open Local CSV DB #33

Open Cebrain opened 2 years ago

Cebrain commented 2 years ago

Hey guys,

i installed everything and installation was smooth without error.

Grafana Dashboard is loading but no Netflow data is showing up. After checking logs i see the following:

ERROR[2022-10-04T08:57:48Z] File: type.go Function: github.com/goNfCollector/location.New Line: 101 [14]-Can not open Local CSV DB: (open /opt/nfcollector/vendors/ip2location/local-db/local.csv: no such file or directory)  debug="File: type.go Function: github.com/goNfCollector/location.New Line: 101"
ERROR[2022-10-04T08:57:48Z] File: type.go Function: github.com/goNfCollector/location.New Line: 112 [15]-Can not read Local CSV DB: (invalid argument)  debug="File: type.go Function: github.com/goNfCollector/location.New Line: 112"
DEBUG[2022-10-04T08:57:48Z] File: type.go Function: github.com/goNfCollector/influxdb.New Line: 80 new influxDB exporter influxdb:8086 bucket:nfCollector org:OPENINTELLIGENCE is created  debug="File: type.go Function: github.com/goNfCollector/influxdb.New Line: 80"
DEBUG[2022-10-04T08:57:48Z] File: collector.go Function: github.com/goNfCollector/collector.(*Collector).listen Line: 165 listening on 0.0.0.0:6859  debug="File: collector.go Function: github.com/goNfCollector/collector.(*Collector).listen Line: 165"
INFO[2022-10-04T08:57:48Z] Server is now listening on 0.0.0.0:6859 (UDP)...!  debug="File: collector.go Function: github.com/goNfCollector/collector.(*Collector).listen Line: 183"
javadmohebbi commented 1 year ago

Hi @Cebrain

Please use the newer version installer in README.md and this issue will be fixed!

Regards