From baa5e5fbfaa799eb8f7663aed7766a5620f3eacc Mon Sep 17 00:00:00 2001 From: nicolargo Date: Fri, 8 Oct 2021 17:41:24 +0200 Subject: [PATCH] Influxdb2 via SSL #1934 --- glances/exports/glances_influxdb2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glances/exports/glances_influxdb2.py b/glances/exports/glances_influxdb2.py index 87a6c3bc..35b6d42b 100644 --- a/glances/exports/glances_influxdb2.py +++ b/glances/exports/glances_influxdb2.py @@ -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: