I’ve mostly followed the Influxdb+grafana mega thread but used the installer from openhab config tool. Grafana seems to be connected to influxdb, but I don’t seem to be getting any data from openhab into influxdb.
I installed the influxdb binding and it appears there are no settings in paperUI. I created influxdb.persist file. Here are the contents:
By the way for anyone in the future looking at this, another good place to look is the /var/log/syslog if running on a Linux system. With the default influxdb.conf file, it will log an entry every time a write request comes along for the database. So check when an Item changes, then look at the corresponding time in the syslog. This helps break the problem in half. If you see nothing in syslog, then you know your problem is on the OH side as it isn’t getting there. I suspect this is what you’ll find in your case before you switched to the IP address. But if the writes to the database are successful, then you know the OH side is good, and perhaps your query such as from Grafana is incorrect.
I made sure that url in services/influxdb.cfg matched the bind-address in /etc/influxdb/influxdb.conf (the solution raised in this thread, probably 127.0.0.1:8086)