I have successfully installed influxdb and telegraf and grafana in a main computer and telegraf is posting data to influx which grafana can see.
I then go to another computer on the same network and install telegraf, using the same process to install as a service, which runs just fine.
Log file doesn’t indicate any issues, last line is:
2020-03-17T16:20:13Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:“seePyou”, Flush Interval:10s
That is all it says though and nothing else is written to it.
In Grafana I can see no data, and in influx I walk the telegraf database and see no data coming in from this computer.
Curiously enough though, Grafana sees AND doesn’t see the new hostname: explain
in the dashboard I have a variable with this query:
SHOW TAG VALUES WITH KEY = “host”
this does show me the “seePyou” hostname.
If I go to the panel though and edit the query and go where the hostname is assigned as host, the list of the hosts is /^Host/ and “mainserver” only. The hostname “seePyou” is not there in this dropdown. So how can the variable find it?
I have installed firewall rules to send data from the computer, and to accept data from the other computer.
The telegraf.conf are identical with the only different being the output URL. In the computer where the influx lives I use:
urls = [“http://127.0.0.1:8086”]
and in the other ocmputer I use:
urls = [“http://192.168.1.3:8086”]