Open baxyz opened 3 years ago
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
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"}
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.
You can't use CREATE with Influxdb 2 API v1 compatibility, the database must be created before with this command :
influx v1 dbrp create --db aix --default --org "XXXXX" --bucket-id XXXXX --rp autogen
After that, in the cfg conf file, you must put the name of the database in following fields : influxdb_database AND import_log_database
It works well with InfluxDB v2 with API compatibility :
Thanks for your method 👍👍发自我的 iPhone在 2024年9月24日,23:08,Alexy Da Cruz @.***> 写道: You can't use CREATE with Influxdb 2 API v1 compatibility, the database must be created before with this command : influx v1 dbrp create --db aix --default --org "XXXXX" --bucket-id XXXXX --rp autogen After that, in the cfg conf file, you must put the name of the database in following fields : influxdb_database AND import_log_database It works well with InfluxDB v2 with API compatibility : image.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
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:
We successfully used the compatibility API with Grafana, and it works using the token auth method.