andrewfraley / arris_cable_modem_stats

Retrieves stats from Arris cable modems and sends to InfluxDB
50 stars 33 forks source link

Does not support new influxdb 2.x client #35

Closed cbschuld closed 2 years ago

cbschuld commented 2 years ago

Hey Andrew:

Current version does not supported the updated 2.x client from Influxdata (https://docs.influxdata.com/influxdb/v2.0/api-guide/client-libraries/python/)

Migration guide here: https://influxdb-client.readthedocs.io/en/stable/migration.html

Breaking Change: the 2.x client requires token based auth so the username/password and a few other options will require adjustment

PR incoming for changes.

andrewfraley commented 2 years ago

Added support for InfluxDB 2.x in release v1.6.0. @cbschuld thanks for the original PR for this. I implemented it so that we could support both 1.x and 2.x, but used some of your code for arris_stats_influx2.py. Thanks!