Very new to the TICK stack. I have 3 raspberry pi’s on a home network, along with a wireless printer, a range extender, and a router. I currently have InfluxDB, Telegraf, and Chronograf running on one pi. Everything is working fine there. I wrote a python script that pings the wireless printer and then writes the results from the ping into Influxdb. The problem is that Chronograf is not picking up the new host. I’ve launched the CLI tools to verify the data has been written, and I see the host listed in the tags.
What database are you writing it to? Why are the tags, etc.? If you could post some more details about the structure of your database on the Pi, and maybe an example of your line-protocol data insert from Python that would be helpful.
> show series from "ping"
key
---
ping,host=monitorpi,url=192.168.5.4
ping,host=monitorpi,url=www.google.com
ping,host=printer
> show measurements with measurement = ping
name: measurements
name
----
ping
> show tag keys from "ping"
name: ping
tagKey
------
host
url
> show tag values with key ="host"
name: ping
key value
--- -----
host monitorpi
host printer
> show field keys from "ping"
name: ping
fieldKey fieldType
-------- ---------
average_response_ms float
maximum_response_ms float
minimum_response_ms float
packets_received integer
packets_transmitted integer
percent_packet_loss float
After going through this the only thing I see different is that url is missing for the printer host. I guess it’s required?
After adding the URL to be part of my insert still no changes.
> show series from "ping"
key
---
ping,host=monitorpi,url=192.168.5.4
ping,host=monitorpi,url=www.google.com
ping,host=printer
ping,host=printer,url=192.168.50.166