On Friday, April 22, 2016 at 5:52:57 PM UTC-6, alan gao wrote:
> Ubuntu 12.04
> 
> 
> On Fri, Apr 22, 2016 at 2:41 PM, Sean Beckett <[email protected]> wrote:
> 
> Please open a github issue with the actual queries and output, and when the 
> data re-appears, if it does. That is not expected behavior, and it doesn't 
> sound like a query issue.
> 
> 
> What OS are you running InfluxDB on?
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 1:58 PM, alan gao <[email protected]> wrote:
> 
> 
> 
> This is what I did, I dropped all measurements win_xxx. Then I run telegraf 
> for a while. You can see below message that it wrote collects to the 
> Influxdb. The I checked influxdb database and I see 4 win_xxx measurements 
> are created. Then I run "select * from win_xxx". NOTHING shows up. This is 
> exactly same as what happened previously. I bet the data will show up If I 
> wait 1 day or so...So strange.
> 
> 
> 
> 
> 
> C:\telegraf>telegraf.exe -config telegraf72.conf
> 2016/04/22 13:54:44 Starting Telegraf (version 0.12.1)
> 2016/04/22 13:54:44 Loaded outputs: influxdb
> 2016/04/22 13:54:44 Loaded inputs: win_perf_counters
> 2016/04/22 13:54:44 Tags enabled: host=Win8
> 2016/04/22 13:54:44 Agent Config: Interval:10s, Debug:false, Quiet:false, 
> Hostname:"Win8", Flush Interval:10s
> 2016/04/22 13:54:50 Gathered metrics, (10s interval), from 1 inputs in 
> 160.9671ms
> 2016/04/22 13:55:00 Gathered metrics, (10s interval), from 1 inputs in 0
> 2016/04/22 13:55:00 Wrote 51 metrics to output influxdb in 0
> 2016/04/22 13:55:10 Gathered metrics, (10s interval), from 1 inputs in 0
> 2016/04/22 13:55:10 Wrote 45 metrics to output influxdb in 0
> 2016/04/22 13:55:20 Gathered metrics, (10s interval), from 1 inputs in 0
> 2016/04/22 13:55:20 Wrote 45 metrics to output influxdb in 0
> 2016/04/22 13:55:24 Hang on, flushing any cached metrics before shutdown
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 1:41 PM, Sean Beckett <[email protected]> wrote:
> 
> 
> 
> Please give the actual output you are getting, and describe what you expect 
> that you aren't seeing.
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 12:26 PM, alan gao <[email protected]> wrote:
> 
> 
> 
> I saw "wrote the x metrics" as I tested it again. I got below message. When I 
> run select Select * from win_cpu. I still don't see the new date with correct 
> timestamp. 
> 
> 
> 
> 2016/04/22 12:01:00 Gathered metrics, (10s interval), from 1 inputs in 0
> 2016/04/22 12:01:00 Wrote 51 metrics to output influxdb in 0
> 2016/04/22 12:01:10 Gathered metrics, (10s interval), from 1 inputs in 0
> 2016/04/22 12:01:10 Wrote 45 metrics to output influxdb in 46.8765ms
> 2016/04/22 12:01:14 Hang on, flushing any cached metrics before shutdown
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 11:32 AM, Sean Beckett <[email protected]> wrote:
> 
> 
> 
> You won't have data in InfluxDB until you see a "Wrote X metrics" message.
> 
> 
> 
> 
> 2016/04/22 21:08:20 Gathered metrics, (10s interval), from 1 input in 
> 7.381456ms
> 2016/04/22 21:08:30 Wrote 23 metrics to output influxdb in 12.453796ms
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 10:42 AM, Sean Beckett <[email protected]> wrote:
> 
> The flush interval in Telegraf is set to 10 seconds. It will only flush data 
> to the database every 10 seconds, as configured.
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 10:28 AM, alan gao <[email protected]> wrote:
> 
> I only have a default retention policy on the db. You know what. I run the 
> command to select * from win_xxx again. Now there is data showing up. I swear 
> it wasn't there. It seems that the database engine doesn't show data 
> immediately while telegraf is writing to the database. 
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 9:54 AM, Sean Beckett <[email protected]> wrote:
> 
> 
> 
> Can you share the results of SHOW RETENTION POLICIES?
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 9:40 AM, alan gao <[email protected]> wrote:
> 
> 
> 
> I used the influxcli. 
> use temp
> 
> Show measurements
>  > show measurements
> name: measurements
> ------------------
> name
> win_cpu
> win_disk
> win_mem
> win_system
> win_websvc
> 
> 
> select * from win_cpu
> select * from win_cpu
> select * from win_mem
> 
> ......
> 
> 
> Nothing shows up. 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Fri, Apr 22, 2016 at 8:33 AM, Sean Beckett <[email protected]> wrote:
> 
> 
> 
> There is not enough information to assist you. That output from Telegraf is 
> normal. 
> 
> 
> How do you know there is no data in the measurement? 
> 
> 
> On Thu, Apr 21, 2016 at 11:49 AM,  <[email protected]> wrote:
> I have downloaded latest Telegarf for Windows64. and used default config file 
> come with it. Below is message. On inluxdb, I saw the database/measurement is 
> created, but no data in it. Any help is appreciated.
> 
> 
> 
> 
> 
> C:\telegraf>telegraf.exe -config telegraf73.conf
> 
> 2016/04/21 11:44:02 Starting Telegraf (version 0.12.1)
> 
> 2016/04/21 11:44:02 Loaded outputs: influxdb
> 
> 2016/04/21 11:44:02 Loaded inputs: win_perf_counters
> 
> 2016/04/21 11:44:02 Tags enabled: host=Win8
> 
> 2016/04/21 11:44:02 Agent Config: Interval:10s, Debug:false, Quiet:false, 
> Hostname:"Win8", Flush Interval:10s
> 
> 2016/04/21 11:44:10 Gathered metrics, (10s interval), from 1 inputs in 
> 140.6262ms
> 
> 
> 
> --
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> ---
> 
> You received this message because you are subscribed to the Google Groups 
> "InfluxDB" 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/7a3c1288-c62d-4c7b-9a29-df372935e6ca%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> -- 
> 
> 
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to a topic in the Google 
> Groups "InfluxDB" group.
> 
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/influxdb/aJhO6eKLY_w/unsubscribe.
> 
> To unsubscribe from this group and all its topics, 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/CALGqCvNcdUv%3DBvXHRsvNBEW7YUd%2BtbDXp_%2BDcHKy_bL14pHb-g%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to the Google Groups 
> "InfluxDB" 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/CACKmL9S%3DW5WepMzmmOwLyXpdDs0TwjX%3D1OPna32DyTTeoa1HRA%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> -- 
> 
> 
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to a topic in the Google 
> Groups "InfluxDB" group.
> 
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/influxdb/aJhO6eKLY_w/unsubscribe.
> 
> To unsubscribe from this group and all its topics, 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/CALGqCvNDY27DNb3ztcBGiu5UxZn6uKeqCnrB%3D8CU6CCFoptJww%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to the Google Groups 
> "InfluxDB" 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/CACKmL9SYQynAoF9xVAfhCWbiBZBe-u3ZV5%2BwEU8GmgXnVYgczQ%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> -- 
> 
> 
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
> 
> 
> 
> 
> 
> -- 
> 
> 
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to a topic in the Google 
> Groups "InfluxDB" group.
> 
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/influxdb/aJhO6eKLY_w/unsubscribe.
> 
> To unsubscribe from this group and all its topics, 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/CALGqCvOxZ1-PbeQjo46Rj7g6fVpiEPaSJh0CpBjP7DgEbTGXag%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to the Google Groups 
> "InfluxDB" 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/CACKmL9R1Kd--QqtJGu7Qj5aMHJmJnr1b8NTEYcOdMYU5HgiMgQ%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> -- 
> 
> 
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to a topic in the Google 
> Groups "InfluxDB" group.
> 
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/influxdb/aJhO6eKLY_w/unsubscribe.
> 
> To unsubscribe from this group and all its topics, 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/CALGqCvOiRUtac2Ljvzq9zujXRftBRWdbTEZe-a%2BeqU%3DACJjk9Q%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to the Google Groups 
> "InfluxDB" 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/CACKmL9Qh%2Bz10Mz-2wygoQ5MUj1X4HThyTvOzsNdy23cbE4kE9Q%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> -- 
> 
> 
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
> 
> 
> 
> 
> 
> -- 
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> --- 
> 
> You received this message because you are subscribed to a topic in the Google 
> Groups "InfluxDB" group.
> 
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/influxdb/aJhO6eKLY_w/unsubscribe.
> 
> To unsubscribe from this group and all its topics, 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/CALGqCvPUfSyy3Zrc8y%2BY9RR22SwCEVR68dbSvp%2Bn9EgGRxJbZA%40mail.gmail.com.
> 
> 
> 
> For more options, visit https://groups.google.com/d/optout.

Did you file a bug or otherwise find a solution? I'm having the same problem.
Running telegraf in a docker on unRAID. It was working yesterday, but I messed 
around with the configuation and now nothing is showing up in InfluxDB.

Telegraf debug:
2016/06/30 20:15:32 Using config file: /etc/telegraf/telegraf.conf
2016/06/30 20:15:32 Attempting connection to output: influxdb
2016/06/30 20:15:32 Successfully connected to output: influxdb
2016/06/30 20:15:32 Starting Telegraf (version 0.13.1)
2016/06/30 20:15:32 Loaded outputs: influxdb
2016/06/30 20:15:32 Loaded inputs: mem processes system docker net cpu disk
2016/06/30 20:15:32 Tags enabled: host=unraid
2016/06/30 20:15:32 Agent Config: Interval:10s, Debug:true, Quiet:false, 
Hostname:"unraid", Flush Interval:10s
2016/06/30 20:12:50 Input [net] gathered metrics, (10s interval) in 2.960288ms
2016/06/30 20:12:50 Input [system] gathered metrics, (10s interval) in 
37.464523ms
2016/06/30 20:12:50 Output [influxdb] buffer fullness: 45 / 10000 metrics. 
Total gathered metrics: 3434. Total dropped metrics: 0.
2016/06/30 20:12:50 Output [influxdb] wrote batch of 45 metrics in 7.433754ms
2016/06/30 20:12:51 Input [docker] gathered metrics, (10s interval) in 
1.915423049s
2016/06/30 20:13:00 Input [processes] gathered metrics, (10s interval) in 
287.975µs
2016/06/30 20:13:00 Input [cpu] gathered metrics, (10s interval) in 96.647µs
2016/06/30 20:13:00 Input [net] gathered metrics, (10s interval) in 495.938µs
2016/06/30 20:13:00 Input [mem] gathered metrics, (10s interval) in 148.585µs
2016/06/30 20:13:00 Input [disk] gathered metrics, (10s interval) in 4.447175ms
2016/06/30 20:13:00 Input [system] gathered metrics, (10s interval) in 
35.888088ms
2016/06/30 20:13:00 Output [influxdb] buffer fullness: 45 / 10000 metrics. 
Total gathered metrics: 3479. Total dropped metrics: 0.
2016/06/30 20:13:00 Output [influxdb] wrote batch of 45 metrics in 3.070727ms

InfluxDB Show Measurements:
measurements
name
cpu
disk
docker
docker_container_cpu
docker_container_mem
mem
net
processes
system

SELECT * FROM CPU
Success! (no results to display)

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" 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/3b6541e2-0dbe-4ce4-a194-45e13d44e1f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to