Search code examples
dockerinfluxdbcadvisor

cadvisor and influxDB integration issue


I use influxDB to store the historical data produced by cadvisor and I encounter a problem. After the installation and connection of cadvisor and influxDB,the influxDB shows no data.Here are my docker configurations:

//for influxDB
docker run -d -p 8083:8083 -p 8086:8086 --expose 8090 --expose 8099 --name influxsrv tutum/influxdb
//for cadvisor
docker run --volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \ 
--publish=8080:8080 \ 
--detach=true \
--link influxsrv:influxsrv \
--name=cadvisor \ 
google/cadvisor:latest \ 
-storage_driver_db=influxdb \
-storage_driver_host=influxsrv:8086

so when I planned to look the data in influxDB, I got the following message:

enter image description here

influxDB shows no data, can anyone tell me why? Thanks in advance.


Solution

  • OK,the problem is solved. I try a little lower version of influxdb and cadvisor.