Influxdb2 via SSL #1934

This commit is contained in:
nicolargo 2021-10-08 17:41:24 +02:00
parent 9a58502989
commit baa5e5fbfa

View File

@ -70,8 +70,10 @@ class Export(GlancesExport):
url = '{}://{}:{}'.format(self.protocol, self.host, self.port) url = '{}://{}:{}'.format(self.protocol, self.host, self.port)
try: try:
# See docs: https://influxdb-client.readthedocs.io/en/stable/api.html#influxdbclient
client = InfluxDBClient(url=url, client = InfluxDBClient(url=url,
enable_gzip=False, enable_gzip=False,
verify_ssl=False,
org=self.org, org=self.org,
token=self.token) token=self.token)
except Exception as e: except Exception as e: