Closed basalisco closed 2 years ago
@xsiriusx please share your config file
[influx2]
url=http://localhost:8086
# For influx v1.x please use "-" as a value
org=keenetic
# For influx v1.x please use "username:password" as a token
token=mytoken
timeout=6000
# For influx v1.x DB name
bucket=keenetic
[keenetic]
admin_endpoint=http://ipkeenetic:80
skip_auth=false
login=myuser
password=mypass
[collector]
interval_sec=30
this is command for buil docker
git clone you repository
edit config.ini
docker build image
docker run image
maybe something wrong?
@xsiriusx You don't need to pull the repo and build image. Please follow steps from README.md step by step.
when docker run image
Traceback (most recent call last): File "/home/keentic_influxdb_exporter.py", line 110, in <module> infuxdb_writer = InfuxWriter(config['influx2'], config_path) File "/usr/local/lib/python3.8/configparser.py", line 960, in __getitem__ raise KeyError(key) KeyError: 'influx2'
And crash