Hi all,

##Main problem: 

InfluxDB does not show any datapoints, despite receiving them from a Telegraf 
instance.

##Details:

I have a setup w/ Telegraf sending metrics to a database in Influxdb, running 
on different hosts. Telegraf connects successfully to InfluxDB and reports a 
successful transmission of metrics:

"
2017/01/03 18:47:19 D! Attempting connection to output: influxdb
2017/01/03 18:47:19 D! Successfully connected to output: influxdb

...

2017/01/03 18:48:20 I! Output [influxdb] wrote batch of 1000 metrics in 
86.386805ms
2017/01/03 18:48:20 I! Output [influxdb] buffer fullness: 33 / 20000 metrics. 
Total gathered metrics: 1033. Total dropped metrics: 0.
2017/01/03 18:48:20 I! Output [influxdb] wrote batch of 33 metrics in 7.522171ms
"

I know that the metric data reaches InfluxDB because an initially empty 
Database (named 'metrics') is populated with the Measurements exported by 
Telegraf. 

However, whenever I login to the 'influx' console, I can't see any datapoints 
on any of the Measurements, e.g. the result of a 'SELECT' is empty:

"
#use@hostname : influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB 
server management, and monitoring.
Connected to http://localhost:8086 version 1.1.0
InfluxDB shell version: 1.1.0
> use metrics
Using database metrics
> show measurements
name: measurements
name
----
docker
docker_container_blkio
docker_container_cpu
docker_container_mem
glance_api_local_check
glance_registry_local_check
heat_api_local_check
keystone_api_local_check
memcached
neutron_api_local_check
nova_api_local_check
nova_api_metadata_local_check
nova_cloud_stats
rabbitmq_node
rabbitmq_overview
rabbitmq_queue

> select * from docker
> select * from neutron_api_local_check
> show tag keys from docker
> show tag keys from neutron_api_local_check
"

My questions are:
* What are the most probable causes for this behavior?
* I couldn't find any influxdb logs. What's the best way to debug this?

##Useful (?) information

* InfluxDB shell version: 1.1.0
* Relevant Telegraf config:
"
[[outputs.influxdb]]
  urls = ["http://192.168.8.41:8086";]
  database = "metrics" # required
  retention_policy = "one_day_only"
  username = "influxdb"
  password = "<password>"
"

* Retention policies on database 'metrics'
"
> show retention policies
name            duration        shardGroupDuration      replicaN        default
----            --------        ------------------      --------        -------
autogen         0s              168h0m0s                1               true
default         24h0m0s         1h0m0s                  1               false
one_day_only    24h0m0s         1h0m0s                  1               false
"

Best regards,
Antonio

-- 
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/46cc0365-8cf8-4191-8083-8bd78f38455e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to