Thanks to this issue and @phaethon . I just split up the commands into two seperated scripts and bumped the Influx version.
gmake test
will return errors about InfluxQL
tests. I don't know how bad this is...
chmod a+x requirements.sh
chmod a+x install.sh
./requirements.sh && ./install.sh
# Copy influxd into /etc/rc.d/
chmod a+x /etc/rc.d/influxd
sysrc influxd_enable="YES"
sysrc grafana_enable="YES"
# Cleanup (optional)
rm -rf /tmp/influxd
rm -rf /tmp/influx-cli
The logfile from InfluxDB is located at /var/log/influxd.log
. Grafana configs are available in usr/local/etc/grafana
.
Configurte InfluxDB and Grafana to your needs.