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

Support for InfluxDB 2.0 #16

Open
therealmysteryman opened this issue Mar 1, 2021 · 5 comments
Open

Support for InfluxDB 2.0 #16

therealmysteryman opened this issue Mar 1, 2021 · 5 comments

Comments

@therealmysteryman
Copy link

Since InfluxDB 2.0 has been released, I was wondering if you could add support for InfluxDB 2.0 ?

Thanks

@mcindea
Copy link
Collaborator

mcindea commented Mar 5, 2021

Unfortunately the InfluxDB python module ( https://pypi.org/project/influxdb/ ) doesn't yet support 2.0 and I see Grafana support for 2.0 is still in Beta.
I just noticed that my setup broke on Unraid, and I think the only solution for now is to stick to pre 2.0 until proper support is released or we find a python module which supports it.

@therealmysteryman
Copy link
Author

therealmysteryman commented Mar 6, 2021 via email

@dbsqp
Copy link

dbsqp commented Apr 8, 2021

Hi, I forked and added InfluxDBv2 support. Is minor change in python. My code will diverge to cover multiple NUT servers from single docker container and only key metrics but code might still be useful if you want to add v2 support. https://github.com/dbsqp/nut-influxdbv2 will get docker container working asap

@jwillmer
Copy link

jwillmer commented Nov 4, 2022

I used this code base and the one from @dbsqp to create another version that is compatible with InfluxDBv2 and the data structure of the original code base. That way all tutorials/templates on the internet will work out of the box. You can find the project in the jwillmer/nut-influxdbv2 repository. It hopefully will also show up in the Unraid community store soon. The support page can already be found at forums.unraid.net/topic/130458-support-nut-influxdbv2-exporter

@kiwimato
Copy link
Owner

@jwillmer @dbsqp thank you for your work
I would like to point out that the reason I'm not maintaining this script anymore is that Telegraf added support for NUT in this PR, and I will use Telegraf instead from now on. I will make a note in the README file to deprecate my repo and point it to yours instead.

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

5 participants