Closed banzayats closed 7 years ago
I've hardcoded "Authorization" header in file ~/go/src/github.com/zensqlmonitor/influxdb-zabbix/output/influxdb/influxdb.go
:
req.Header.Set("Content-Type", "application/text")
req.Header.Add("Authorization", "Basic dGVzdDp0ZXN0X2FkbWlu")
Now authorization works.
So I think there is some problem with loa.username
Thanks
I'm getting the following error:
My
influxdb-zabbix.conf
file:What may be wrong?