mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-21 08:11:39 +03:00
Influxdb2 via SSL #1934
This commit is contained in:
parent
9a58502989
commit
baa5e5fbfa
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user