Please can someone explain the configuration of InfluxDB on Linux?
I need to know all the config areas and data stores, i am getting forbidden for some hosts when they connect to Influxdb and cant figure out why - so thinking it might be down to perms on a file?
The firewall is open from said machine as can telnet to the ip / port.
The telegraf config is the same as used on the other 150+ servers that are able to connect to InfluxDB (the token is also read / write). - I’m a little stuck with this as unsure why these few servers are forbidden 403 - all i can think is when i moved the data store was wondering if there is another configuration file somewhere that stores the information that needs to be updated or cleared?
Since moving the folders (process below)
Moved the data with Rsync
rsync -a /var/lib/influxdb/ /data/influxdb/
sudo chown -R influxdb:influxdb /data/influxdb/
Started Influxdb service
I have renamed the influxdb folder to old and created a new one - this allowed me to resetup influx through the UI - this has been done and I have created new buckets etc - but still get the 403 message for the affected hosts.
I can add new hosts plus the original ones but not the affected ones.
I have uninstalled telegraf several times from those servers and reinstalled to no avail.
The following has been run to test the connection:
The 403 forbidden makes me think that your internal system/OS is trying to restrict “sketchy behaviour” or programs looking at files on your computer (in this instance reading/writing data to a file).
When I was running some of the scripts I was getting errors with regards to Docker needing admin rights to write.
I’d suggest running sudo with telegraf or the influx server but I’m still quite new to working with this stuff.