Added missed GEOIPDB parsing from settings.ini

This commit is contained in:
Alexey Nizhegolenko 2022-07-21 17:43:55 +03:00
parent 056b37af2a
commit c3f773cf87

View file

@ -124,6 +124,7 @@ def main():
INFLUXUSERPASS = CONFIG.get('INFLUXDB1', 'password')
elif INFLUXDB_VERSION == "2":
# Getting params from config for version 2
GEOIPDB = CONFIG.get('GEOIP', 'geoipdb')
LOGPATH = CONFIG.get('NGINX_LOGS', 'logpath').split()
URL = CONFIG.get('INFLUXDB2', 'url')
INFLUXDBTOKEN = CONFIG.get('INFLUXDB2', 'token')