# Chronograph not showing multiple hosts

**URL:** <https://community.influxdata.com/t/chronograph-not-showing-multiple-hosts/2563>\
**Category:** Systems\
**Created:** [October 4, 2017, 2:47am UTC](https://community.influxdata.com/t/chronograph-not-showing-multiple-hosts/2563 "2017-10-04T02:47:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndrone](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@ndrone](https://community.influxdata.com/u/ndrone)\
**Post date:** [October 4, 2017, 2:47am UTC](https://community.influxdata.com/t/chronograph-not-showing-multiple-hosts/2563/1 "2017-10-04T02:47:58Z")

</div>

Hi All,

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 am I missing?

Thanks,

---

<div class="post-metadata">

**Author:** ![davidgs](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/davidgs/32/6936_2.png) [@davidgs](https://community.influxdata.com/u/davidgs)\
**Post date:** [October 5, 2017, 7:55pm UTC](https://community.influxdata.com/t/chronograph-not-showing-multiple-hosts/2563/2 "2017-10-05T19:55:41Z")

</div>

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.

dg

---

<div class="post-metadata">

**Author:** ![ndrone](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@ndrone](https://community.influxdata.com/u/ndrone)\
**Post date:** [October 6, 2017, 11:18am UTC](https://community.influxdata.com/t/chronograph-not-showing-multiple-hosts/2563/3 "2017-10-06T11:18:38Z")

</div>

My python code doing a ping and inserting the results into influxdb

```auto
from influxdb import InfluxDBClient
import pyping, sys, getopt

host = ""
ipAddress = ""

avg_response = 0.0
max_response = 0.0
min_response = 0.0
packets_received = 0
packets_transmitted = 3
percent_packet_loss = 0

try:
  opts, args = getopt.getopt(sys.argv[1:],"h:a:")
except getopt.GetoptError:
  print 'ping.py -h <host> -a <address>'
  sys.exit(1)

for opt, arg in opts:
  if opt == '-h':
    host = arg
  elif opt == "-a":
    ipAddress = arg

response = pyping.ping(ipAddress)

if response.ret_code == 0:
  avg_response = response.avg_rtt
  max_response = response.max_rtt
  min_response = response.min_rtt
  packets_received = packets_transmitted - response.packet_lost
  percent_packet_loss = 100 * float(response.packet_lost)/float(packets_transmitted)
else:
  packets_received = 0
  percent_packet_loss = 100

json_body = [{"measurement": "ping", "tags": {"host": str(host)},"fields":{"average_response_ms": float(avg_response), "maximum_response_ms": float(max_response), "minimum_response_ms": float(min_response), "packets_received": packets_received, "packets_transmitted": packets_transmitted, "percent_packet_loss": percent_packet_loss}}]

print json_body

client = InfluxDBClient('192.168.50.4', 8086, '', '', 'telegraf')
client.write_points(json_body)

```

Database tables

```auto
> 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?

---

<div class="post-metadata">

**Author:** ![ndrone](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@ndrone](https://community.influxdata.com/u/ndrone)\
**Post date:** [October 6, 2017, 11:23am UTC](https://community.influxdata.com/t/chronograph-not-showing-multiple-hosts/2563/4 "2017-10-06T11:23:34Z")

</div>

After adding the URL to be part of my insert still no changes.

```auto
> 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

```

---

<div class="post-metadata">

**Author:** ![ndrone](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@ndrone](https://community.influxdata.com/u/ndrone)\
**Post date:** [October 9, 2017, 2:03am UTC](https://community.influxdata.com/t/chronograph-not-showing-multiple-hosts/2563/5 "2017-10-09T02:03:13Z")

</div>

So I figured out my issue. Chronograf doesn’t display hosts that don’t have a system or cpu metrics. See: [Chronograf requires users to run Telegraf's CPU and system plugins to ensure that all Apps appear on the HOST LIST page. · Issue #1077 · influxdata/chronograf · GitHub](https://github.com/influxdata/chronograf/issues/1077) to which I fixed and create a pull request for: [Fixes #1077 by removing win\_system and system from the select query. by ndrone · Pull Request #2087 · influxdata/chronograf · GitHub](https://github.com/influxdata/chronograf/pull/2087)
