-
Notifications
You must be signed in to change notification settings - Fork 20
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
Collector can't write to influxdb #14
Comments
This rather looks like the token required for influxdb2 is either missing or incorrect, or the organisation is in error. |
I have exactly the same problem with a clean install from this repository. Could it be that the token is incorrect? |
I have been migrating to influxdb2, and everytime I get an authorizatiion error its the token, or the organisation set incorrectly. |
Hi all, Thank you for the feedback. It is confirmed that the reported issue has been seen on many devices. I will update you in on hour. |
@drolfe @aimdev @NVQXE23I The issue has been resolved.
Let script download the rest of things and the solution should be worked now. Please read this guide for more information about installation. Sorry for this issue. Hope you enjoy the solution. |
Hi everybody, I have some issue writing data on influxdb. There are the logs from the collector:
I generate the flows with nProbe (https://github.com/ntop/nProbe) using the command below: I'm running nprobe from Windows WSL on ubuntu 18.04 Thanks |
Hi @izaerax Please share the following information for further investigation:
Also to check our solution can decode the flow traffic. please run the following command for gathering some logs. This command will run a special version of nfcollector which logs decoded netflow packets to a log file
Wait for some minute and to stop this app, press CTRL + C Please send me back the /tmp/nfcollector-dump.log file. |
thanks for your reply @javadmohebbi those are the results:
I launched the |
Hi @izaerax I have just published the new version of the solution right now v0.0.1-30b which might solve your problem. I have already tested it with nprobe using nprobe docker image Please update your
When the latest.shcompleted its job, run these commands to run the solution.
|
Hi, I seem to have the below issue
Logs from collector:
2021/10/07 00:31:19 influxdb2client E! Write error: Post "http://127.0.0.1:8086/api/v2/write?bucket=nfCollector&org=OPENINTELLIGENCE&precision=ns": dial tcp 127.0.0.1:8086: connect: connection refused Batch kept for retrying 2021/10/07 00:31:24 influxdb2client E! Write error: Post "http://127.0.0.1:8086/api/v2/write?bucket=nfCollector&org=OPENINTELLIGENCE&precision=ns": dial tcp 127.0.0.1:8086: connect: connection refused Batch kept for retrying 2021/10/07 00:31:29 influxdb2client E! Write error: Post "http://127.0.0.1:8086/api/v2/write?bucket=nfCollector&org=OPENINTELLIGENCE&precision=ns": dial tcp 127.0.0.1:8086: connect: connection refused Batch kept for retrying 2021/10/07 00:31:34 influxdb2client E! Write error: Post "http://127.0.0.1:8086/api/v2/write?bucket=nfCollector&org=OPENINTELLIGENCE&precision=ns": dial tcp 127.0.0.1:8086: connect: connection refused Batch kept for retrying 2021/10/07 00:31:39 influxdb2client E! Write error: Post "http://127.0.0.1:8086/api/v2/write?bucket=nfCollector&org=OPENINTELLIGENCE&precision=ns": dial tcp 127.0.0.1:8086: connect: connection refused Batch kept for retrying 2021/10/07 00:31:44 influxdb2client E! Write error: Post "http://127.0.0.1:8086/api/v2/write?bucket=nfCollector&org=OPENINTELLIGENCE&precision=ns": dial tcp 127.0.0.1:8086: connect: connection refused Batch kept for retrying 2021/10/07 00:31:49 influxdb2client E! Write error: Post "http://127.0.0.1:8086/api/v2/write?bucket=nfCollector&org=OPENINTELLIGENCE&precision=ns": dial tcp 127.0.0.1:8086: connect: connection refused Batch kept for retrying ^C
Logs from influxdb:
ts=2021-10-07T00:31:30.505617Z lvl=info msg=Starting log_id=0X22RUUl000 service=telemetry interval=8h ts=2021-10-07T00:31:30.505654Z lvl=info msg=Listening log_id=0X22RUUl000 service=tcp-listener transport=http addr=:8086 port=8086 ts=2021-10-07T00:31:59.158305Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.162553Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.229866Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.230787Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.231473Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.243734Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.256626Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.259733Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.261795Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found" ts=2021-10-07T00:31:59.263596Z lvl=info msg=Unauthorized log_id=0X22RUUl000 error="authorization not found"
Any Help would be great
Regards, Daniel
The text was updated successfully, but these errors were encountered: