Skip to content
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

Compatibility with InfluxDB v.2 #79

Open
baxyz opened this issue Mar 3, 2021 · 3 comments
Open

Compatibility with InfluxDB v.2 #79

baxyz opened this issue Mar 3, 2021 · 3 comments

Comments

@baxyz
Copy link

baxyz commented Mar 3, 2021

Does anyone have a simple trick to get this awesome tool compatible with InfluxDB v.2 ?

I read that InfluxDB v.2 has a compatibility API (found here), but I got an authentication problem.

I tried without any change:

2021/03/03 15:43:10 Using configuration file /home/username/.nmon2influxdb.cfg
2021/03/03 15:43:10 Creating InfluxDB database nmon_tests-db
2021/03/03 15:43:10 NMON file separator: ,
2021/03/03 15:43:10 {"code":"unauthorized","message":"Unauthorized"}

We successfully used the compatibility API with Grafana, and it works using the token auth method.

@adejoux
Copy link
Owner

adejoux commented Mar 30, 2021

Hello,

Unfortunately I don't work with power systems anymore. I will try to check this issue but without being able to test everything.

Regards,

Alain

@yesl0107
Copy link

yesl0107 commented May 8, 2022

I met this problem also when use Influxdb v2.2,Does anyone can fix this?

[root@B software]# ./nmon2influxdb import B_220508_1003.nmon
2022/05/08 20:03:29 Using configuration file /root/.nmon2influxdb.cfg
2022/05/08 20:03:29 Creating InfluxDB database nmon_data
2022/05/08 20:03:29 NMON file separator: ,
2022/05/08 20:03:29 {"code":"unauthorized","message":"Unauthorized"}

@adejoux
Copy link
Owner

adejoux commented May 12, 2022

Hello,

Unfortunately I will not be able to help. I didn't check the new influxdb protocol and the compatibility layer and will not have time to do so in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants