Thanks for the command syntax. Interesting. Operation timed out. I can ping 
the "55" IP address, but the curl command times out. 

On Tuesday, February 28, 2017 at 5:35:47 PM UTC-5, Mark Rushakoff wrote:
>
> "Timeout exceeded" sounds like the Telegraf machine does not have network 
> connectivity to the InfluxDB machine. I think the likely case is that 
> InfluxDB is configured to listen only on localhost when you want it to be 
> listening on the specific IP or hostname (or perhaps 0.0.0.0 if it isn't 
> connected to the public internet).  If it isn't an InfluxDB config issue, 
> it may be a firewall setting.
>
> From the telegraf machine, try `curl -v http://10.20.0.55:8086/ping` 
> <http://10.20.0.55:8086/ping> to determine network connectivity.
>
> On Tue, Feb 28, 2017 at 2:18 PM, Bryan Newport <[email protected] 
> <javascript:>> wrote:
>
>> Here is my current Telegraf output config:
>>
>> [[outputs.influxdb]]
>>   ## The full HTTP or UDP endpoint URL for your InfluxDB instance.
>>   ## Multiple urls can be specified as part of the same cluster,
>>   ## this means that only ONE of the urls will be written to each 
>> interval.
>>   # urls = ["udp://10.20.0.232:8089"] # UDP endpoint example
>>   urls = ["http://10.20.0.55:8086";] # required
>>   ## The target database for metrics (telegraf will create it if not 
>> exists).
>>   database = "telegraf" # required
>>
>>
>> And the resulting log:
>>
>> 2017/02/28 17:09:45 E! Database creation failed: Post http://
>> 10.20.0.55:8086/query?db=&q=CREATE+DATABASE+%22telegraf%22: net/http: 
>> request canceled while waiting for connection (Client.Timeout exceeded 
>> while awaiting headers)
>> 2017/02/28 17:09:45 E! Error writing to output [influxdb]: Could not 
>> write to any InfluxDB server in cluster
>>
>>
>>
>> On Sunday, February 26, 2017 at 11:11:44 AM UTC-5, Bryan Newport wrote:
>>>
>>> I am running InfluxDB on a Linux Mint VM. I can access InfluxDB from a 
>>> browser at http://localhost:8083, so it seems that I have Influx 
>>> installed correctly, but for some reason there is not an influxdb logfile 
>>> in /var/log/influxdb. I am really confused...
>>>
>>> On Saturday, February 25, 2017 at 10:52:36 PM UTC-5, Mark Rushakoff 
>>> wrote:
>>>>
>>>> Depending on the OS and how InfluxDB was installed, you may need to run 
>>>> `journalctl -u influxdb` to see the logs.
>>>>
>>>> Then if you don't see anything in the InfluxDB logs that indicates 
>>>> Telegraf connected to it, ensure that you can connect to the InfluxDB 
>>>> instance from the machine running telegraf. The writing data guide [1] 
>>>> gives good explanations on how to use curl to interact with the database.
>>>>
>>>> [1] https://docs.influxdata.com/influxdb/v1.2/guides/writing_data/
>>>>
>>>> On Sat, Feb 25, 2017 at 7:36 PM, Bryan Newport <[email protected]> 
>>>> wrote:
>>>>
>>>>> It looks like I'm running Telegraf v.1.1.2.
>>>>>
>>>>> --
>>>>> Remember to include the version number!
>>>>> ---
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "InfluxData" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at https://groups.google.com/group/influxdb.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/influxdb/87846381-6322-4697-ae4d-ae1042bb46a6%40googlegroups.com
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> -- 
>> Remember to include the version number!
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "InfluxData" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/influxdb.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/influxdb/515cf7dd-a416-48ca-85aa-6ce24440a7d7%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/influxdb/515cf7dd-a416-48ca-85aa-6ce24440a7d7%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/09eb543f-aa78-4931-afc4-5a9d3f451f44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to