Influxdb: Part 2

This PR will finally fix #39.
WDYT of "influxdb.name" and the same elsewhere? I guess we can re-use if we just go with raw "db".