Open MaKloth opened 3 years ago
Hi MaKloth,
Honestly I didn't expect anyone else to start using this script :sweat_smile: . But, of course you are welcome to use it as you see fit.
Regarding your issue: I never tested with TLS because I don't need it myself. However, I had a quick look at the Python InfluxDB client documentation, and it should be easy to implement this.
Everything InfluxDB related is handled in influx.py
. You could forward the ssl
(and maybe verify_ssl
) options from the constructor to the client object (line 12). And then pass the configuration from the main.py
file.
Feel free to submit a pull request if you happen to implement these changes.
Regards, Hackwerken
It works as you suggested to extend the constructor. Thanks.
I use influxdb with ssl (unsafe because of self signed cert). Therefore I get following error if host is set to localhost in config file.
Changing host to https://localhost raises following errors: