XGR
2017-05-03 01:06:41 UTC
Hi,
I've followed the steps in "How To Setup Docker Monitoring"
(https://www.brianchristner.io/how-to-setup-docker-monitoring/) to
configure influxdb and cadvisor, however, seems the metrics collected by
cadvisor are not stored into InfluxDB, as select * from "stats" returns no
records. Can someone point me anything wrong?
Here are steps I followed:
1, set up influxdb:
sudo docker run -d -p 8083:8083 -p 8086:8086 --expose 8090 --expose 8099
--name influxsrv tutum/influxdb
sudo 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
thanks.
I've followed the steps in "How To Setup Docker Monitoring"
(https://www.brianchristner.io/how-to-setup-docker-monitoring/) to
configure influxdb and cadvisor, however, seems the metrics collected by
cadvisor are not stored into InfluxDB, as select * from "stats" returns no
records. Can someone point me anything wrong?
Here are steps I followed:
1, set up influxdb:
sudo docker run -d -p 8083:8083 -p 8086:8086 --expose 8090 --expose 8099
--name influxsrv tutum/influxdb
create database cadvisor
create user "root" with password 'root' with all privileges
4, install cadvisor container and link to influxdb container:create user "root" with password 'root' with all privileges
sudo 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
thanks.
--
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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/5678f2e0-85d4-4eb5-b095-2ef04de7fb1d%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 influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/5678f2e0-85d4-4eb5-b095-2ef04de7fb1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.