influxdata / influxdata/sandbox

Telegraf can't connect to influxdb

Open
#70 3 comments 9 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
490
Forks
252
PR merge metrics
No merged PRs in 30d

Description

I've tried to run the default sandbox app on both Windows 10 and Ubuntu 18.04.2 with the same result. Is this a problem with the sandbox app or my usage?

I clone and type `./sandbox up`

```
telegraf_1 | 2019-06-06T13:30:24Z I! Starting Telegraf 1.10.4
telegraf_1 | 2019-06-06T13:30:24Z I! Using config file: /etc/telegraf/telegraf.conf
telegraf_1 | 2019-06-06T13:30:24Z I! Loaded inputs: docker cpu system influxdb syslog mqtt_consumer
telegraf_1 | 2019-06-06T13:30:24Z I! Loaded aggregators:
telegraf_1 | 2019-06-06T13:30:24Z I! Loaded processors:
telegraf_1 | 2019-06-06T13:30:24Z I! Loaded outputs: influxdb
telegraf_1 | 2019-06-06T13:30:24Z I! Tags enabled: host=telegraf-getting-started
telegraf_1 | 2019-06-06T13:30:24Z I! [agent] Config: Interval:5s, Quiet:false, Hostname:"telegraf-getting-started", Flush Interval:5s
telegraf_1 | 2019-06-06T13:30:24Z W! [outputs.influxdb] when writing to [http://influxdb:8086]: database "telegraf" creation failed: Post http://influxdb:8086/query: dial tcp 172.19.0.2:8086: connect: connection refused
telegraf_1 | 2019-06-06T13:30:25Z E! [inputs.influxdb]: Error in plugin: [url=http://influxdb:8086/debug/vars]: Get http://influxdb:8086/debug/vars: dial tcp 172.19.0.2:8086: connect: connection refused
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.