mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-21 00:01:53 +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)
|
||||
try:
|
||||
# See docs: https://influxdb-client.readthedocs.io/en/stable/api.html#influxdbclient
|
||||
client = InfluxDBClient(url=url,
|
||||
enable_gzip=False,
|
||||
verify_ssl=False,
|
||||
org=self.org,
|
||||
token=self.token)
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user