InfluxDB 2.0 is now in Alpha and the writing API has changed slightly making it incompatible with the current integration.
from the influx 2.0 docs:
https://v2.docs.influxdata.com/v2.0/write-data/#influxdb-api
curl -XPOST "http://localhost:9999/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \
--header "Authorization: Token YOURAUTHTOKEN" \
--data-raw "mem,host=host1 used_percent=23.43234543 1556896326"
The biggest change appears to be the auth token header instead of basic auth/no auth from before, should not be too difficult to implement